repositorypackage
0.0.0-20181011062216-59a0c89196eb
Repository: https://github.com/boxproject/lib-bitcore.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# README
lib-bitcore
a lib for bitcore
modify list:
1. chain.go, we added some RescanBlock methods below, you can use these methods rescan block convinently:
func (c *Client) RescanBlockChainAsync() FutureRescanBlockChainResult
func (c *Client) RescanBlockChainStartAsync(startHeight int) FutureRescanBlockChainResult
func (c *Client) RescanBlockChainStartStopAsync(startHeight, stopHeight int) FutureRescanBlockChainResult
func (c *Client) RescanBlockChain() (*sebtcjson.RescanBlockChanResult,error)
func (c *Client) RescanBlockChainStart(startHeight int) (*sebtcjson.RescanBlockChanResult,error)
func (c *Client) RescanBlockChainStartStop(startHeight, stopHeight int) (*sebtcjson.RescanBlockChanResult,error)
2. wallet.go, we added some ImportAddress methods,you do not need rescan all blocks yet.
func (c *Client) ImportAddressRescanAsync(address ,lable string, rescan bool) FutureImportAddressResult
func (c *Client) ImportAddressRescan(address,lable string, rescan bool) error