Open mattgstevens opened 8 years ago
bitcoin-js
is OOP and not data-driven, it's not simple to test without mocking and such. But we need to test, especially the transaction building function.
The transactions we do are payouts to content creators as well as ourselves. So the function payoutContent
is the most important.
fetch.inputsList
. That function made sense before we had a Invoice
record, but now it's just unclear. Less is more. transaction.js
are not coherent. When we merge #35 I think this should be closed - am I right @mattgstevens ?
@fromheten agreed! this cleanup has been great for our understanding and the code shows that IMO :D
Reopening as #35 is not merged. We still have not fixed this.
Last I looked at this I was able to succesfully run payouts; is there something blocking #44 from being merged?
I don't remember now, but I don't think it works does it?
When I made this branch it was because it was working and included the extra changes from #35.
Did you have time to pay yourself back since you got the redis snapshot? Think that would be a good test and you could have the bits of coins back into a wallet you control
On 19 Jul 2016, at 06:03, Martin Josefsson notifications@github.com wrote:
I don't remember now, but I don't think it works does it?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
Digging into the code again... Fun, but feels weird after not having coded since April!! Time spend outside of the editor is a waste of time ;-).
I tried transacting from a restored DB dump - unsuccessfully. Here are my notes: https://gist.github.com/fromheten/38546ded9df089c65618d7519f61f680
This flow is a little messy, would like to clean it up