hsd icon indicating copy to clipboard operation
hsd copied to clipboard

Could you please add an API to get the current transferable balance value

Open GXKe opened this issue 3 years ago • 2 comments

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 before the start, which will cause some inconvenience

GXKe avatar Nov 18 '21 03:11 GXKe

not sure if this is what you are referring to, but I have a pull request for adding 'spendable_balance' here: https://github.com/handshake-org/hsd/pull/507

ca98am79 avatar Nov 18 '21 13:11 ca98am79

@ca98am79 this issue is more about immature newly mined coins which cannot be spent for 100 blocks. It will probably require adding new properties to the overall wallet state, and a short data migration for updated software.

pinheadmz avatar Nov 18 '21 13:11 pinheadmz