Bitcoin Core  27.99.0
P2P Digital Currency
Public Attributes | List of all members
CoinsViewOptions Struct Reference

User-controlled performance and debug options. More...

#include <txdb.h>

Public Attributes

size_t batch_write_bytes = nDefaultDbBatchSize
 Maximum database write batch size in bytes. More...
 
int simulate_crash_ratio = 0
 If non-zero, randomly exit when the database is flushed with (1/ratio) probability. More...
 

Detailed Description

User-controlled performance and debug options.

Definition at line 44 of file txdb.h.

Member Data Documentation

◆ batch_write_bytes

size_t CoinsViewOptions::batch_write_bytes = nDefaultDbBatchSize

Maximum database write batch size in bytes.

Definition at line 46 of file txdb.h.

◆ simulate_crash_ratio

int CoinsViewOptions::simulate_crash_ratio = 0

If non-zero, randomly exit when the database is flushed with (1/ratio) probability.

Definition at line 49 of file txdb.h.


The documentation for this struct was generated from the following file: