Documentation ¶ Index ¶ func StartSync(doneChan chan struct{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StartSync ¶ func StartSync(doneChan chan struct{}) error StartSync keeps the node and the database in sync. On start, it downloads all data that's missing from the database, and once it's done it keeps sync with the node via notifications. Types ¶ This section is empty. Source Files ¶ View all Source files accepted_block.go address.go block.go block_parent.go common.go log.go raw_block.go subnetwork.go sync.go transaction.go transaction_block.go transaction_input.go transaction_output.go Click to show internal directories. Click to hide internal directories.