Ledgerium Core
Ledgerium Blockchain provides Geth as the core blockchain protocol client to run the Ledgerium Node and to interact with the Ledgerium Blockchain. Ledgerium Blockchain is inspired by J.P. Morgan's Quorum Protocol (Based on the Ethereum Foundation's Ethereum Protocol) and utilises IBFT (Istanbul Byzantine Fault Tolerant) consensus mechanism for both testnets and mainnet implementations. The Ledgerium Foundation have tried to keep the source as close to the original source code as possible.
Please refer to our releases link
Note
It is recommended to use the release branches. Advanced developers may choose at their discretion.

Building the source

  • Please read the installation instructions and prerequisites on the Ledgerium.
  • Building 'geth' requires Golang (version 1.11 or later) and a make tool. You can install them using your package manager. Once the dependencies are installed, please follow below commands
1
git clone https://github.com/ledgerium-io/ledgeriumcore.git
2
cd ledgeriumcore
3
make geth
4
make all - //To build the full suite of utilities
Copied!

Ledgerium Blockchain Parameters

Ledgerium Blockchain client Geth has following parameters to work with.
1
NAME
2
geth - the go-ethereum command-line interface
3
Copyright 2019-2020 The BlockLedger Pty Ltd.
4
5
USAGE
6
geth [options] command [command options] [arguments...]
7
8
VERSION
9
1.8.12-stable
10
11
COMMANDS
12
account Manage accounts
13
attach Start an interactive JavaScript environment (connect to node)
14
bug Opens a window to report a bug on the geth repo
15
console Start an interactive JavaScript environment
16
dump Dump a specific block from storage
17
dumpconfig Show configuration values
18
init Bootstrap and initialize a new genesis block
19
js Execute the specified JavaScript files
20
license Display license information
21
monitor Monitor and visualize node metrics
22
version Print version numbers
23
wallet Manage Ethereum presale wallets
24
help, h Shows a list of commands or help for one command
25
26
ETHEREUM OPTIONS
27
--config value TOML configuration file
28
--datadir "/home/.ledgerium" Data directory for the databases and keystore
29
--keystore Directory for the keystore (default = inside the datadir)
30
--nousb Disables monitoring for and managing USB hardware wallets
31
--networkid value Network identifier (integer, 2018=Toorak, 2019=Flinders, 2020=Southbank, 2021=Richmond) (default: 2019)
32
--syncmode "fast" Blockchain sync mode ("fast", "full", or "light")
33
--gcmode value Blockchain garbage collection mode ("full", "archive") (default: "full")
34
--ethstats value Reporting URL of a ethstats service (nodename:[email protected]:port)
35
--identity value Custom node name
36
37
API AND CONSOLE OPTIONS
38
--rpc Enable the HTTP-RPC server
39
--rpcaddr value HTTP-RPC server listening interface (default: "localhost")
40
--rpcport value HTTP-RPC server listening port (default: 8545)
41
--rpcapi value API's offered over the HTTP-RPC interface
42
--ws Enable the WS-RPC server
43
--wsaddr value WS-RPC server listening interface (default: "localhost")
44
--wsport value WS-RPC server listening port (default: 8546)
45
--wsapi value API's offered over the WS-RPC interface
46
--wsorigins value Origins from which to accept websockets requests
47
--ipcdisable Disable the IPC-RPC server
48
--ipcpath Filename for IPC socket/pipe within the datadir (explicit paths escape it)
49
--rpccorsdomain value Comma separated list of domains from which to accept cross origin requests (browser enforced)
50
--rpcvhosts value Comma separated list of virtual hostnames from which to accept requests (server enforced). Accepts '*' wildcard. (default: "localhost")
51
--jspath LoadScript JavaScript root path for loadScript (default: ".")
52
--exec value Execute JavaScript statement
53
--preload value Comma separated list of JavaScript files to preload into the console
54
55
ACCOUNT OPTIONS
56
--unlock value Comma separated list of accounts to unlock
57
--password value Password file to use for non-interactive password input
58
59
MINER OPTIONS
60
--mine Enable mining
61
--minerthreads value Number of CPU threads to use for mining (default: 8)
62
--etherbase value Public address for block mining rewards (default = first account created) (default: "0")
63
--targetgaslimit value Target gas limit sets the artificial target gas floor for the blocks to mine (default: 4712388)
64
--gasprice "18000000000" Minimal gas price to accept for mining a transactions
65
--extradata value Block extra data set by the miner (default = client version)
66
67
NETWORKING OPTIONS
68
--bootnodes value Comma separated enode URLs for P2P discovery bootstrap (set v4+v5 instead for light servers)
69
--bootnodesv4 value Comma separated enode URLs for P2P v4 discovery bootstrap (light server, full nodes)
70
--bootnodesv5 value Comma separated enode URLs for P2P v5 discovery bootstrap (light server, light nodes)
71
--port value Network listening port (default: 30303)
72
--maxpeers value Maximum number of network peers (network disabled if set to 0) (default: 25)
73
--maxpendpeers value Maximum number of pending connection attempts (defaults used if set to 0) (default: 0)
74
--nat value NAT port mapping mechanism (any|none|upnp|pmp|extip:<IP>) (default: "any")
75
--nodiscover Disables the peer discovery mechanism (manual peer addition)
76
--v5disc Enables the experimental RLPx V5 (Topic Discovery) mechanism
77
--netrestrict value Restricts network communication to the given IP networks (CIDR masks)
78
--nodekey value P2P node key file
79
--nodekeyhex value P2P node key as hex (for testing)
80
81
TRANSACTION POOL OPTIONS
82
--txpool.nolocals Disables price exemptions for locally submitted transactions
83
--txpool.journal value Disk journal for local transaction to survive node restarts (default: "transactions.rlp")
84
--txpool.rejournal value Time interval to regenerate the local transaction journal (default: 1h0m0s)
85
--txpool.pricelimit value Minimum gas price limit to enforce for acceptance into the pool (default: 1)
86
--txpool.pricebump value Price bump percentage to replace an already existing transaction (default: 10)
87
--txpool.accountslots value Minimum number of executable transaction slots guaranteed per account (default: 16)
88
--txpool.globalslots value Maximum number of executable transaction slots for all accounts (default: 4096)
89
--txpool.accountqueue value Maximum number of non-executable transaction slots permitted per account (default: 64)
90
--txpool.globalqueue value Maximum number of non-executable transaction slots for all accounts (default: 1024)
91
--txpool.lifetime value Maximum amount of time non-executable transaction are queued (default: 3h0m0s)
92
93
LOGGING AND DEBUGGING OPTIONS
94
--metrics Enable metrics collection and reporting
95
--debug Prepends log messages with call-site location (file and line number)
96
--verbosity value Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)
97
--vmodule value Per-module verbosity: comma-separated list of <pattern>=<level> (e.g. eth/*=5,p2p=4)
98
--backtrace value Request a stack trace at a specific logging statement (e.g. "block.go:271")
99
--pprofaddr value pprof HTTP server listening interface (default: "127.0.0.1")
100
--pprof Enable the pprof HTTP server
101
--pprofport value The pprof HTTP server listening port (default: 6060)
102
--memprofilerate value Turn on memory profiling with the given rate (default: 524288)
103
--blockprofilerate value Turn on block profiling with the given rate (default: 0)
104
--cpuprofile value Write CPU profile to the given file
105
--trace value Write execution trace to the given file
106
107
QUORUM OPTIONS
108
--permissioned If enabled, the node will allow only a defined list of nodes to connect
109
110
IBFT OPTIONS
111
--istanbul.requesttimeout Timeout for each Istanbul round in milliseconds
112
--istanbul.blockperiod Default minimum difference between two consecutive block's timestamps in seconds
113
114
PERFORMANCE TUNING OPTIONS
115
--cache value Megabytes of memory allocated to internal caching (default: 1024)
116
--cache.database value Percentage of cache memory allowance to use for database io (default: 75)
117
--cache.gc value Percentage of cache memory allowance to use for trie pruning (default: 25)
118
--trie-cache-gens value Number of trie node generations to keep in memory (default: 120)
119
120
VIRTUAL MACHINE OPTIONS
121
--vmdebug Record information useful for VM and contract debugging
122
123
GAS PRICE ORACLE OPTIONS
124
--gpoblocks valu e Number of recent blocks to check for gas prices (default: 20)
125
--gpopercentile value Suggested gas price is the given percentile of a set of recent transaction gas prices (default: 60)
126
127
WHISPER (EXPERIMENTAL) OPTIONS
128
--shhEnable Whisper
129
--shh.maxmessagesize value Max message size accepted (default: 1048576)
130
--shh.pow value Minimum POW accepted (default: 0.2)
131
132
MISC OPTIONS
133
--help, -h Show help
134
135
COPYRIGHT
136
Copyright 2019-2020 The BlockLedger Pty Ltd.
Copied!
Last modified 1yr ago