This pull request introduces a new sign option to APIs that require signing, such as node.announce() and node.mutablePut(). If given, this property is expected to be an optionally async function that signs the given buffer.
It still lacks tests and docs as I wanted to get some input on the API first.
This pull request introduces a new
sign
option to APIs that require signing, such asnode.announce()
andnode.mutablePut()
. If given, this property is expected to be an optionally async function that signs the given buffer.It still lacks tests and docs as I wanted to get some input on the API first.