Documentation
¶
Index ¶
Constants ¶
View Source
const (
MainnetMagic wire.BitcoinNet = 0x8479b7a4
)
Variables ¶
View Source
var (
MainNetParams chaincfg.Params
)
Functions ¶
func GetChainParams ¶
GetChainParams contains network parameters for the main Crown network
func NewDapsRPC ¶
func NewDapsRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewDapsRPC returns new DapsRPC instance
Types ¶
type DapsParser ¶
type DapsParser struct { *btc.BitcoinParser // contains filtered or unexported fields }
DapsParser handle
func NewDapsParser ¶
func NewDapsParser(params *chaincfg.Params, c *btc.Configuration) *DapsParser
NewDapsParser returns new DapsParser instance
type DapsRPC ¶
type DapsRPC struct {
*btc.BitcoinRPC
}
DapsRPC is an interface to JSON-RPC bitcoind service
func (*DapsRPC) GetTransactionForMempool ¶
GetTransactionForMempool returns a transaction by the transaction ID. It could be optimized for mempool, i.e. without block time and confirmations
func (*DapsRPC) Initialize ¶
Initialize initializes DashRPC instance.
Click to show internal directories.
Click to hide internal directories.