Skip to content

v1.1.7-beta

Compare
Choose a tag to compare
@yilunzhang yilunzhang released this 27 Apr 06:20
· 251 commits to master since this release

This version continues to fix a few potential security problems found during the ongoing security audit. In addition, a few optimization are introduced to greatly reduce RAM usage under high throughput relay (some of them will be activated in the next version). More changes can be found in the change notes below.

Because new security mechanism and protocols are introduced, old version will no longer be able to produce valid signature chain (and earn mining rewards) after block height 1,200,000.

Security

  • Avoid the same sigchain to be backtracked multiple times
  • Ignore vote with invalid height in persist finish state
  • Add rate limiting for RPC requests and sync block msg
  • Migrate sigchain sigAlgo from hash to signature

Consensus

  • Add minimal number of neighbor samples to help bootstrap network
  • Fix syncing node election starts later than persist nodes

Network

  • Reduce message id cache RAM usage
  • Add pin sigchain protocol to reduce relay RAM usage (stage 1/2)
  • Add pin src sigchain logic to reduce first relay node RAM usage

RPC

  • Add https json rpc address in getws[s]addr response

nknc

  • Fix nknc create wallet might print wrong address

Code Quality

  • Remove legacy crypto big int code from old ECDSA signature
  • Fix gofmt, ineffassign, misspell warnings