kbn runs a bootstrap node for the Klaytn Node Discovery Protocol.
A bootstrap node is a kind of registry service which has every nodes' information and delivers it to a querying node to help the node to join the network.
Source Files ¶
Each file contains the following contents
- api.go : Provides various APIs to use bootnode services - backend.go : Provides supporting functions for APIs - config.go : Provides `bootnodeConfig` which contains a configuration and accompanying setter and parser functions - main.go : Main entry point of the application - node.go : Provides `Node` struct which defines what kind of APIs can be provided through which port and protocols