Add DustThreshold to /wallet API endpoint
Created by: aiorla
This PR fixes #2291 (closed). Two comments/questions:
-
TestWalletDustThreshold
is an adaptation ofTestTransactionPoolFee
to test the api endpoint like previous tests. It creates a simple test server and checks if the api endpoint result equals the direct call one but I am not sure if it clears the sane value requirement that is said in the issue. Is a different test needed or just to check its value in the real blockchain? - Is adding this threshold value as an extra line in the
wallet balance
output ofsiac
a good a idea? (after the estimated fee)