Skip to content

Add DustThreshold to /wallet API endpoint

Christopher Schinnerl requested to merge aiorla:api-dust into master

Created by: aiorla

This PR fixes #2291 (closed). Two comments/questions:

  • TestWalletDustThreshold is an adaptation of TestTransactionPoolFee 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 of siac a good a idea? (after the estimated fee)

Merge request reports