Documentation ¶
Index ¶
- Constants
- type BlockRec
- type Config
- type Explorer
- func (e *Explorer) SelectAddrTotalReceived(addr []byte, limit int) (int64, error)
- func (e *Explorer) SelectBlockByHashJson(hash blkchain.Uint256) (*string, error)
- func (e *Explorer) SelectBlocksJson(height, limit int) ([]string, error)
- func (e *Explorer) SelectHashType(hash blkchain.Uint256) (*string, error)
- func (e *Explorer) SelectMaxHeight() (int, error)
- func (e *Explorer) SelectTxByHashJson(hash blkchain.Uint256) (*string, error)
- func (e *Explorer) SelectTxsByAddrJson(addr []byte, startTxId int, limit int) ([]string, error)
- func (e *Explorer) SelectTxsJson(blockHash blkchain.Uint256, startN, limit int) ([]string, error)
- type PGWriter
Constants ¶
View Source
const ( HASH_PREFIX_SIZE = 7 // 3 collisions as of height 771643 RECENT_RING_SIZE = 1024 * 64 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Explorer ¶
type Explorer struct {
// contains filtered or unexported fields
}
func NewExplorer ¶
func (*Explorer) SelectAddrTotalReceived ¶
func (*Explorer) SelectBlockByHashJson ¶
func (*Explorer) SelectBlocksJson ¶
func (*Explorer) SelectHashType ¶
func (*Explorer) SelectMaxHeight ¶
func (*Explorer) SelectTxByHashJson ¶
func (*Explorer) SelectTxsByAddrJson ¶
type PGWriter ¶
type PGWriter struct {
// contains filtered or unexported fields
}
func NewPGWriter ¶
func (*PGWriter) HeightAndHashes ¶
func (*PGWriter) SetOrphans ¶
Click to show internal directories.
Click to hide internal directories.