Skip to content

v2.12.1

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 11:54

RPC API changes

  1. contract_getSBP: return descriptive error message when sbpName is not exist (#634)
  2. util_getPoWNonce: limit difficulty capacity (#629)
  3. wallet_addEntropyStore: handle invalid parameters (#631)
  4. enable private rpc-api for private modules (#633)

In this release we introduce a new config field "PrivateHttpPort". By default all private API namespace such as "wallet", "private_onroad", "private_dex", "virtual", "ledgerdebug" won't be bind. You must explicitly add "PrivateHttpPort" in node_config.json to enable the private API. Note that private API cannot be visited through public HTTP endpoint anymore by default. For some reasons if you still want to access the private APIs through public HTTP/WS endpoint, you can set "HttpExposeAll" or "WSExposeAll" as true in node_config.json.

IMPORTANT NOTE
For those nodes providing RPC service to Vite Wallet App, please do configure "HttpExposeAll" and "WSExposeAll" as true otherwise the connected app may not display correct balance.

Access the private API through IPC is not affected.

SHA256(gvite-v2.12.1-darwin.tar.gz)= caa14a87091293c4b422a2716e0c34841277b4632e52bfbdee4c8a5f2bfad6c1
SHA256(gvite-v2.12.1-linux.tar.gz)= 4a0f75323ac5b9eeaf8add1816aab8b25c44148b5298acaacebbd3383ddcd9ae
SHA256(gvite-v2.12.1-linux-arm64.tar.gz)= 627df61b90452f4de899333eda3b99c9d377214d2a60fd03eb124a3f154b5976
SHA256(gvite-v2.12.1-windows.tar.gz)= c7ad621a347e6b4b2306dd4f7ef265621fd2463f8dcfee9f5b84e90936467968