Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TruncateBadger = false
TruncateBadger controls whether Badger is configured to truncate corrupted data. Especially on Windows, if the node is terminated abruptly, setting this may be necessary to recovering the state of the system.
However, Accumulate is not robust against this kind of interruption. If the node is terminated abruptly and restarted with this flag, some functions may break, such as synthetic transactions and anchoring.
Functions ¶
This section is empty.
Types ¶
type Batch ¶ added in v0.5.1
type Batch struct {
// contains filtered or unexported fields
}
func (*Batch) Begin ¶ added in v0.5.1
func (b *Batch) Begin() storage.KeyValueTxn
Click to show internal directories.
Click to hide internal directories.