Get the basic structure in place for a class called LocalNode that is intended for future interchangeability with DcrdataBlockchain, though a long ways to go. It uses the new rpc.WebsocketClient to access the websocket-only endpoints of the dcrd RPC needed for wallet syncing and chain monitoring. A few basic functions used for syncing accounts are in place to demonstrate how AccountManager and Account would use LocalNode.
Adds some needed functionality to KeyValueDatabase. Slice notation is supported, and there are getters for the first and last entries in a table.
Get the basic structure in place for a class called
LocalNode
that is intended for future interchangeability withDcrdataBlockchain
, though a long ways to go. It uses the newrpc.WebsocketClient
to access the websocket-only endpoints of the dcrd RPC needed for wallet syncing and chain monitoring. A few basic functions used for syncing accounts are in place to demonstrate howAccountManager
andAccount
would useLocalNode
.Adds some needed functionality to
KeyValueDatabase
. Slice notation is supported, and there are getters for the first and last entries in a table.