* Web monitor (#442)
Overhaul of ol-cli, txs, to include realtime web monitor and some onboarding improvements.
web: Finalize web view layout: Chain view, Node health view, Account view, Validator Set, Stdlib pending upgrades
web: server serves the account.json file.
cli: Refactor cli so that most modules are impl of the Node object
cli: pilot subcommand to drive the apps depending on health checks
cli: replace rocksdb caching with …. Json file
cli: QA and patch health checks, more checks
apps: swarm configs for: miner, txs, cli, as entrypoint --swarm-path <path> --swarm-persona <name>
config: add source_path, db_path to .0L.toml
config: breaking: new names for fields in .0L.toml: tx_configs, and tx_cost.
txs: saving signed tx to file for future sending
txs: relay subcommand for txs that were previously signed txs
txs: autopay batch transactions on onboarding
types: common 0L types are now in ol/types to prevent dependency cycles
fixtures: fixtures is a lib, not can fetch mnemonics across crates . Update fixtures throughout, add more static files
miner: validator wizard with reading from template, file or URL.
libra-node: query for oracle upgrade
libra-node: change log level on consensus timeouts
* Fix build warning (#446)
* Add 0L comments (#418) (#447)
* Jail refactor (#350)
Creates a JailBit on every validator account
Un-jailing can be done by validator after mining a threshold of blocks
Creates a MinerList, separate from ValidatorList needed for resetting counters if lists diverge.
FullnodeState is used for payment and uses MinerState for proof count, removing redundancy
ValidatorUniverse VM can remove a validator
ValidatorUniverse Validator can remove self from list
ValidatorUniverse: a validator can add self to list, as long as has been mining above a threshold in epoch. #349
Fix bug with fullnode able to increment count #337
transaction for removing self from validator set
transaction, rejoin for unjailing and adding to validator set
Test for onboarding happy path
Will not do this in this update:
Reconfigure checks JailBit for eligibility in validator set
DOES NOT remove jailed validator from ValidatorUniverse
First need to upgrade to migrate state, so all accounts have JailedBit, before enforcing it in reconfigure.
* Autopay decimal scaling (#453)
txs: change to txs autopay_batch, onboarding
types: change to types/autopay type and methods for checking
stdlib: AutoPay module: c changes, to use two decimals precision.
stdlib: AutoPay module: control flow for handling errors which could cause network halts
* Error module for logging errors (#455)
* Dirs shuffle (#456)
* moved vdf, cli, txs, miner, keygen to ./ol
* patch ci
* remove node js build
* Miner refactor (#457)
* downloading of release bins for ubuntu
* removed unused commands in miner
* rename OlCliConfig AppConfig
* CI mode for initializing app configs
* rename wizard -> onboard
* include keygen command
* Wizard refactor (#458)
* wizard refactor into own app
* fix getting machine IP error
* change vm log levels
* patch web monitor not starting if account doesn't exist on chain.
* add public.zip and download web-files
* pilot node starting control flow, miner starting control flow
* have write_configs return a NodeConfig
* move keyscheme out of congfig/management/genesis to ol/keygen
* have user input upstream peer url for validator configs
* patch management start node and miner to use target/debug in dev mode
* migration util for 0L.toml (#472)
* Fullnodestate fixes (#466)
* deprecate inc_proof methods in fullnode state
* patch case_1_reconfig test
* Cli pilot command (#471)
* fix getting machine IP error
* have cli arg option for upstream peer url for validator configs
* mgmt start_node and start_miner to use target/debug for dev env
* make json rpc open by default
* Val Universe Transactions (#470)
* check autopay instruction add to < 100%
* autopay safety feature, abort on user deny autopay instruction
* patch autopay checking balance, patch IS_CI global
* rename validator universe tx scripts
* add error codes to validator universe join
* Txn list (#475)
* cli `query` can get an account's txs
* filter transactions by type. rename some scripts
* Pilot mb1 (#480)
* node.rs :: what_node_mode returns 'Validator' for swarm setup
* fixes for ol-cli commands for swarm init: initialize configs in swarm_temp and not in host root (issue 469)
* Patches from release candidate v4.3.0 (#478)
* txs error handling
* expiration time of onboarding transaction
* autopay script error code.
* add autopay disable command in txs
* patch miner running in swarm
Co-authored-by: Gökhan Şimşek <[email protected]>
Co-authored-by: lpgeiger <[email protected]>
Co-authored-by: Keerthi Nelaturu <[email protected]>
Co-authored-by: Shashank <[email protected]>
Co-authored-by: ping <[email protected]>
Co-authored-by: David Boreham <[email protected]>
Co-authored-by: Martin B <[email protected]>