3.0.4 • Published 5 months ago
@rei-network/core v3.0.4
@rei-network/core
The core logic of blockchain node, including:
BlockchainMonitor: Contains several eventslogs: Emit when a new transaction's log is generatedremovedLogs: Emit when the transaction has been rolled backnewHeads: Emit when canonical chain changes
IndexerandBloomBitsFilter: Create bloom bits index for sectionConsensus: Consensus engine implementProtocols: P2P protocols, includerei-ethwireandrei-consensusTxpool: Manage pending and queued transactionsSync: Synchronize blocksTxSync: Synchronize transactionsTracer: Tracer provides an implementation of tracing blocks or transactionsContracts: Some classes are used to interact with the smart contractValidation: Contains the logic to verify the blockHardforks: Contains logic related to the hard fork
INSTALL
npm install @rei-network/coreUSAGE
const node = await NodeFactory.createNode({
databasePath: "path/to/dataDir",
chain: "chainName",
mine: {
enable: true,
coinbase: "address1",
},
network: {
enable: true,
},
account: {
keyStorePath: "path/to/keystore",
unlock: [
["address1", "passphrase1"],
["address2", "passphrase2"],
],
},
});
await node.abort();License
3.0.4
5 months ago
3.0.3
8 months ago
3.0.1-beta.2
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
2.0.2
3 years ago
2.0.1
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.1.2
3 years ago
2.0.0
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.3
4 years ago
0.0.11
4 years ago
0.0.12
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.4-testnet.3
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4-testnet.2
4 years ago
0.0.4-testnet.1
4 years ago
0.0.4
4 years ago