Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushPool ¶
type PushPool struct {
// contains filtered or unexported fields
}
PushPool implements types.PushPool.
func NewPushPool ¶
NewPushPool creates an instance of PushPool
func (*PushPool) Add ¶
Add a note to the pool.
Check all the references to ensure there are no identical (same repo, reference and nonce) references in the pool. A valid reference is one which has no identical reference with a higher fee rate in the pool.
If an identical reference exist in the pool with a lower fee rate, the existing note holding the reference will be replaced by new note holding the reference with a superior fee rate.
In cases where more than one references of note is superior to multiple references in multiple push notes, replacement will only happen if the fee rate of note is higher than the combined fee rate of the replaceable push notes.