This version is compatible with v0.25.0 and above. However, it is recommended to upgrade the node, since we will only release security patches based on the latest release.
See how to connect to various chains in Wiki.
This version has some breaking changes in RPCs. The RPC error now uses different error codes and returns the detailed error information in the data field. (#2038)
There are also a bunch of new RPCs and new fields for existing RPCs, see the CHANGELOG for details.
This version also has migrated the database schema. It will run automatically when the new version starts the first time. (#2152)
Attention: The migration is not reversible. Please backup the data directory if you want to use old versions later.
Downloads
OS | Arch | Runtime Dependencies | Package | Sign |
---|---|---|---|---|
macOS | x64 | macOS 10.12 or above | zip | PGP |
Linux | x64 | glibc, libstdc++ | tarball | PGP |
CentOS | x64 | glibc, libstdc++, openssl | tarball | PGP |
Windows* | x64 | VC++ Redistributable | zip | PGP |
Docker | dockerhub |
* Windows support is experimental.
The #2038 rpc: Re-organize RPC errors (@doitian)
This is a breaking change: b:rpc
This PR reworks on the RPC errors:
Breaking Changes
#2049 rpc: Improve error messages from send transaction RPC (@doitian)
#2178 rpc: Add It allows user to generate block through RPC, it's a convenient feature for dApp integration test (like #2188 rpc: Add sync state RPC (@driftluo)
Wallet can fetch the best known block header the node gets from the P2P network.
#2184 rpc: #2144 rpc: Add Allows user to pause and restart p2p network message processing through RPC.
#2190 rpc: Move #2196 rpc: Add more fields to RPC Added #2195 rpc: Add more fields to Added #2159: Load db options from a file; support configuring column families (@yangby-cryptape)
#2175: Support multiple file loggers in #2182: Take full control of main logger filter via RPC (@yangby-cryptape)
#2158: Panic if db options is empty (@yangby-cryptape)
#2157: The option of db path doesn't work (@yangby-cryptape)
#2177: Fix the lenient logger filter parser (@yangby-cryptape)
#2134: Update proposal table after chain reorg (@zhangsoledad)
Previously, proposal-table update not considered in chain rollback, it's almost impossible to happen in hashrate-based chain. But can be triggered by #2197: Should exit with error code when setup failed (@yangby-cryptape)
Issue: if the config was malformed and an error was thrown in #2152: Change storage molecule table to struct (@quake)
This is a breaking change: b:database
Storage structs #2150: Don't query store twice in method chaining (@yangby-cryptape)
#2151: Reduce times of querying header map (@yangby-cryptape)
#2147: Don't cache all data of header map in memory during IBD (@yangby-cryptape)
#2154: Split chain iter (@zhangsoledad)
#2153: Decoupling migration from db (@zhangsoledad)
Previously, migration coupling with DB, this sacrifice flexibility. In a case like this, opening a read-only DB will be trouble. #2163: Add HeaderProvider trait and split DataLoader to smaller trait (@quake)
#1988: Use a new method to detect headers sync timeout (@yangby-cryptape)
To avoid possible performance issues on headers synchronization.
#2180: Add case description and some assertion for #2179: Refactor about integration service mining relate cases. (@chuijiaolianying)
#2189: Add case description and update case assertions for consensus related cases. (@chuijiaolianying)
#2204: Add some trait for integration cases (@chuijiaolianying)
#2169: Small tx-pool refactoring (@zhangsoledad)
.asc
files are signatures. It is wise and more secure to check out for the files integrity.
Changes since v0.34.2
Features
data
field is always absent before, now it can be a string which contains the detailed error information.
code
in error object is always -3 for all the CKB internal errors, now it can have different values to differentiate different errors. Check the file rpc/src/error.rs
.
generate_block
RPC to IntegrationTest module (@quake)
truncate
RPC)
Tx_pool_info
include tip hash (@keroro520)
set_network_active
RPC (@quake)
add_node
/ remove_node
RPC to Net
module (@quake)
get_peers
(@quake)
connected_duration
, last_ping_duration
, protocols
and sync_state
to get_peers
RPC.
local_node_info
RPC (@quake)
active
, connections
and protocols
fields to local_node_info
.
ckb.toml
(@yangby-cryptape)
Bug Fixes
truncate
RPC.
setup_app
, the process wouldn't exit.
Improvements
HeaderView
, EpochExt
and TransactionInfo
are fixed size, we should use molecule struct
instead of table
, it reduces storage size and improves the performance a little bit.
This PR proposal split migration.
alert_propagation
integration test (@chuijiaolianying)