Skip to content

JSON RPC APIs Rust Kernel vs Java Kernel

John edited this page Jan 24, 2019 · 4 revisions

Rust Kernel vs Java Kernel

The major differences between the two kernel architectures.

Additional Support APIs

The Rust kernel provides all the JSON RPC APIs provided by the Aion Java Kernel, and temporarily keeps mining related functions, eth_sign and web3_sha3 APIs.

The Rust kernel provides more APIs in the personal module, including:

The Rust kernel provides publish and subscribe through WebSocket and IPC connections. This module also allows users to subscribe to certain events and new blocks. The kernel will publish the new block header or event logs based on the subscription requirements.

Data Format

The most common data format difference is the QUANTITY format. QUANTITY may be presented in a number, a hex number, or a hex number in a fixed size. The value of QUANTITY between the Rust kernel and the Java kernel is the same. Converting QUANTITY data into numbers before using it is recommended.

Clone this wiki locally