DriveNetTESTDRIVE / DriveNet

MIT License
21 stars 30 forks source link

BMM requests remove entire available balance #1

Open MerlinB opened 6 years ago

MerlinB commented 6 years ago

Meanwhile, the request txs only show -0.01 btc each. Also, the 0.01 btc already get subtracted from the immature balance.

MerlinB commented 6 years ago

When I get the money back as a transaction from the sidechain around 10 mins later it doesn't show up under the available balance as well.

MurrMcK commented 6 years ago

I had the same issue, however with DriveNet 7 this seems to have improved slightly. I now get change back after a successful BMM request, but it is classified as immature and remains so after 6 confirmations. Meanwhile, it seems that unsuccessful BMM requests still return none of the money back.

CryptAxe commented 6 years ago

@MerlinB @MurrMcK Have you had this issue with DriveNet-8? It does seem the wallet thinks the change is sometimes immature even though it is correctly tracked now instead of just vanishing. This might be an upstream bug...

MurrMcK commented 6 years ago

@CryptAxe I've only had a quick look at DriveNet-8, but did not notice any difference. I did not seem to get back money after an unsuccessful BMM request (after waiting for ten or so blocks) and change is still classified as immature. Just spitballing, but perhaps the latter (or both) has to do with the payment going towards the miner reward and not being a regular transaction? Maybe if BMM requests were sent to self, but just paid a very large transaction fee, that would fix it (assuming you want BMM rewards to be immature for the main chain miners).

CryptAxe commented 5 years ago

@MurrMcK thank you! And that is an interesting idea, you are probably right.