nav-io / navio-core

Navio Core v8 [WIP]
https://nav.io
MIT License
3 stars 6 forks source link

BLSCT SubAddress Pool #126

Closed aguycalled closed 1 year ago

aguycalled commented 1 year ago

This PR adds support for the use of a SubAddress pool and the generation of different receiving addresses.

getnewaddress RPC method pulls addresses from the pool and shows to the requester receiving addresses.

By default it generates addresses under account 0.

It also introduces changes in blsct::PublicKey to store the underlying point as a MclG1Point object, instead of a byte vector, since deserialisation of the vector is a expensive operation.