v0.4.0
Pre-releaseIntroduction
We are excited to announce the go-nebulas v0.4.0 release. NVM progressively improves the compilation and function interfaces. We added execution limits mechanism into the V8 engine. We also implemented more APIs for RPC and REPL, let developers interact with Nebulas more easily. Besides that, we included Metrics Counter into Nebulas, let system admin or operators can use Grafana liked tools to monitor status of Nebulas.
Change details
NVM
Support the standard of CommonJS for native_require & add native instruction counter;
Added executed instruction based limits;
Added cpu/memory resource based limits;
Added more javascript libs in V8, including: bignumber for balance, Blockchain for interact with blockchain data and/or functions, assert.js for testing.
Core
Added Gas and GasPrice fields in Transaction;
Implemented Gas calculation mechanism in Transaction based on NVM Execution limits;
Improved stability;
Added metrics counters, including block height, blockchain tails etc.
Network
Fix sync block in disk storage issue and some other sync bugs.
RPC
Added HTTP-RPC interface for management APIs;
Add nodeInfo rpc api and TransactionReceipt grpc api.
Console
Implemented JavaScript lib neb.js ,which used by web & console;
Neb console add javascript runtime and autocomplete function;
Improved stability of REPL.