Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { Cf *config.Config Mutex sync.Mutex // contains filtered or unexported fields }
func NewDataBase ¶
func (*Database) CommitDBTx ¶
func (d *Database) CommitDBTx(tx transaction.Transaction)
func (Database) CreateRoot ¶
createRoot Transaction channels start with a rootTx transaction always
func (*Database) CreateTables ¶
func (d *Database) CreateTables()
func (*Database) GetDAGSize ¶
type Graph ¶
type Graph struct {
Transactions []transaction.Transaction `json:"transactions"`
}
Graph is a collection of transactions
Click to show internal directories.
Click to hide internal directories.