Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Oldest seeks from the first block Oldest = "oldest" // Newest seeks from the last block Newest = "newest" // FromBlock seeks from a specific block FromBlock = "from" )
Variables ¶
This section is empty.
Functions ¶
func InfoFrom ¶
InfoFrom returns a SeekInfo struct that indicates to the deliver server that we want all blocks starting from the given block number
func InfoNewest ¶
InfoNewest returns a SeekInfo struct that indicates to the deliver server that we just want the latest blocks
func InfoOldest ¶
InfoOldest returns a SeekInfo struct that indicates to the deliver server that we want all blocks starting from the oldest block (block 0)
Types ¶
Click to show internal directories.
Click to hide internal directories.