| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Pass following network related params:
* Genesis block
* Network ID
And sync mode for indexer configuration.
|
|
|
|
|
|
|
| |
When starts a bp node to sync with the network, bc.chainLastHeight map
may not be initialized yet.
Just return error if we can not get chain last height when preparing
payload and verify block.
|
|
|
|
|
|
| |
* indexer: ReadOnlyBlockchain returns underlying engine
* indexer: plugin configs support custom flags
|
|
|
|
| |
For restoring mock componenets (such as: VM, Backend, ...etc),
blockchain related configs should be exposed.
|
|
To support more effective and flexible blockchain info exploring, we add
`indexer` package, defines the flow of indexer dameon, and integrate
into dex.Dexon fullnode.
For more export options, we use Golang built-in `plugin` package to
support mulitple implementations.
|