Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSegment ¶
func NewSyncCache ¶
func NewSyncCache(dirName string) (interfaces.SyncCache, error)
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader(cache *syncCache, seg interfaces.Segment) (*Reader, error)
func (*Reader) Read ¶
func (reader *Reader) Read() (ab *ledger.AccountBlock, sb *ledger.SnapshotBlock, err error)
Click to show internal directories.
Click to hide internal directories.