Documentation ¶
Index ¶
Constants ¶
View Source
const (
MainnetMagic wire.BitcoinNet = 0xe7eae188
)
Variables ¶
View Source
var (
MainNetParams chaincfg.Params
)
Functions ¶
func GetChainParams ¶
GetChainParams contains network parameters for the main SnowGem network, the regression test SnowGem network, the test SnowGem network and the simulation test SnowGem network, in this order
func NewAryacoinRPC ¶
func NewAryacoinRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewAryacoinRPC returns new AryacoinRPC instance
Types ¶
type AryacoinParser ¶
type AryacoinParser struct { *btc.BitcoinParser // contains filtered or unexported fields }
AryacoinParser handle
func NewAryacoinParser ¶
func NewAryacoinParser(params *chaincfg.Params, c *btc.Configuration) *AryacoinParser
NewAryacoinParser returns new AryacoinParser instance
type AryacoinRPC ¶
type AryacoinRPC struct {
*btc.BitcoinRPC
}
AryacoinRPC is an interface to JSON-RPC bitcoind service
func (*AryacoinRPC) GetMempoolEntry ¶
func (z *AryacoinRPC) GetMempoolEntry(txid string) (*bchain.MempoolEntry, error)
GetMempoolEntry returns mempool data for given transaction
func (*AryacoinRPC) GetTransactionForMempool ¶
func (z *AryacoinRPC) GetTransactionForMempool(txid string) (*bchain.Tx, error)
GetTransactionForMempool returns a transaction by the transaction ID. It could be optimized for mempool, i.e. without block time and confirmations
func (*AryacoinRPC) Initialize ¶
func (z *AryacoinRPC) Initialize() error
Initialize initializes AryacoinRPC instance
Click to show internal directories.
Click to hide internal directories.