hsd
hsd copied to clipboard
Handshake Daemon & Full Node
This PR adds a new Node `rpc` method called `getnamedns`. It accepts two arguments - the `name` (string) and a `type` (string). It will resolve the DNS query using the...
### Change Summary & Context The following changes implement the routes outlined in the specification here: https://github.com/handshake-org/hsd/issues/142#issue-431258916 This PR is intended to be tested using this branch of hs-client: -...
**CHANGE:** - add migration-id `1` to change lookahead value from `uint8` to `uint32` - when either `changeDepth` or `receiveDepth` exceed current lookahead value during rescan, increment lookahead value by 20,...
Pruning mode in hsd means only the last 288 blocks are kept on disk: https://github.com/handshake-org/hsd/blob/d393c5a4ac4f65fc6230a37ba24ed1ee9dd26a02/lib/protocol/networks.js#L394-L398 We should consider bumping this up to one complete auction cycle so that "rescan auction"...
Re: discussion in the Telegram group. Looks like the intended behavior of this RPC call is to return the most recent transactions first, and then the "from/skip" parameter jumps ahead...
Some RPC calls like wallet rescan return `success: true` right away even though from a UX perspective, the rescan has just begun: https://github.com/handshake-org/hsd/blob/eea15c2f2d6b3371eefb3bb7a93d08185bc9e25f/lib/wallet/http.js#L189-L201 Other RPC calls like the WIP [dumpzone](https://github.com/handshake-org/hsd/pull/534)...
We currently have two blockchain optimizations in review: - Flat file block storage (https://github.com/handshake-org/hsd/pull/612) - "Assume valid" checkpoints (https://github.com/handshake-org/hsd/pull/597) Somewhat surprisingly, we are not seeing a very dramatic performance improvement...
see https://github.com/handshake-org/hsd/pull/641#issuecomment-984901041
During the settlement and transfer of the ore pool, an error will be reported if the transferable balance is insufficient. It cannot be judged that the transferable balance is insufficient...
This PR changes the txdb zap method, instead of retrieving records from layout.m (which iterates over all txes i assume), it retrieves from layout.p (pending txes) to prevent unnecessary looping...