Closed fromheten closed 8 years ago
wanting to turn the test transaction.buildTransaction back on but having troubles building mockData.
Ok, so I havent tested your last commit with an actual bitcoin transaction, but it looks good and CI says it's happy.
Could you try this out with an actual transaction and payout? Then I say LGTM 👏
Calling them UXTO sounds good, makes tons of sense in the transaction context (and as you say, it is what the blockchain is all about)
The API call to /unspent
would replace the call to /rawaddr
and let us do less work. This also seems to be inline with what we will get when running a bitcoin node of our own: give it an address and ask for all unspent.
Will run a public transaction soon!
I say we leave it with rawaddr for now if you don't want to change it - just because shipping is number one.
This PR is 11 days old and is earning itself an odor
rebased with the latest master
This PR is 15 days old now... Let's get it merged asap yo
@mattgstevens OK I did a catch up merge. Can you review that I didn't make any stupid mistakes, test that transactions work and then LGTM?
superseded by #44
My little TX cleanup
txb.addInput
takes a TXID and a number - that number is the index in that TX list of outputs that we spend. We had misunderstood that.