Documentation
¶
Index ¶
- Constants
- func HandleHashBlock(payload string)
- func HandleHashTx(payload string)
- func HandleRawBlock(payload string, pool *database.RedisPool)
- func HandleRawTx(payload string)
- func HandleRawTxWithSizeAndFee(payload string, pool *database.RedisPool)
- func ProcessMempool(mempool map[string]types.PartialMempoolEntry, redisPool *database.RedisPool)
Constants ¶
View Source
const COIN = 100000000
COIN satoshi per bitcoin
View Source
const MEGABYTE = 1000000
MEGABYTE size of one megabyte in byte
Variables ¶
This section is empty.
Functions ¶
func HandleHashBlock ¶
func HandleHashBlock(payload string)
HandleHashBlock handles a incoming zmq block hash
func HandleRawBlock ¶
HandleRawBlock handles a raw incoming zmq block
func HandleRawTxWithSizeAndFee ¶
HandleRawTxWithSizeAndFee handles the special rawtx2 zmq message which contains a tx, it's size and it's fee as 64 bit ints
func ProcessMempool ¶
func ProcessMempool(mempool map[string]types.PartialMempoolEntry, redisPool *database.RedisPool)
ProcessMempool starts various processing functions on the passed mempool map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.