Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByRangeCmd ¶
type ByRangeCmd struct { *base.Base Blocks bdb.DB Chain chain.FullChain Timeout time.Duration `ask:"--timeout" help:"Timeout for full request and response. 0 to disable"` Compression flags.CompressionFlag `ask:"--compression" help:"Compression. 'none' to disable, 'snappy' for streaming-snappy"` MaxCount uint64 `ask:"--max-count" help:"Max count param in range requests"` MaxStep uint64 `ask:"--max-step" help:"Max step param in range requests"` }
func (*ByRangeCmd) Default ¶
func (c *ByRangeCmd) Default()
func (*ByRangeCmd) Help ¶
func (c *ByRangeCmd) Help() string
type ByRootCmd ¶
type ByRootCmd struct { *base.Base Blocks bdb.DB Chain chain.FullChain Timeout time.Duration `ask:"--timeout" help:"Timeout for full request and response. 0 to disable"` Compression flags.CompressionFlag `ask:"--compression" help:"Compression. 'none' to disable, 'snappy' for streaming-snappy"` MaxCount uint64 `ask:"--max-count" help:"Max amount of roots to accept requests of"` WithinView bool `ask:"--within-view" help:"Only allow requests for blocks within view of chain. I.e. either canon cold, or any hot block."` }
Click to show internal directories.
Click to hide internal directories.