Documentation
¶
Overview ¶
Package corerpc implements the data collection abstractions in package collect by using the Bitcoin Core JSON-RPC API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Getters ¶
func Getters(timeNow UnixNow, cfg Config) (col.MempoolStateGetter, col.BlockGetter, error)
Types ¶
type MempoolEntry ¶
type MempoolEntry struct { Size_ int64 `json:"size"` Time_ int64 `json:"time"` Depends_ []string `json:"depends"` Fee float64 `json:"fee"` CurrentPriority float64 `json:"currentpriority"` }
func (*MempoolEntry) Depends ¶
func (m *MempoolEntry) Depends() []string
func (*MempoolEntry) FeeRate ¶
func (m *MempoolEntry) FeeRate() sim.FeeRate
Panics if called with a zero-value receiver
func (*MempoolEntry) IsHighPriority ¶
func (m *MempoolEntry) IsHighPriority() bool
Whether or not the tx is "high priority". We don't want to use these txs to estimate miner's min fee rate policies.
func (*MempoolEntry) Size ¶
func (m *MempoolEntry) Size() sim.TxSize
func (*MempoolEntry) Time ¶
func (m *MempoolEntry) Time() int64
Click to show internal directories.
Click to hide internal directories.