EndlessVanguard / bitcoin-remunerate-api

A scheme for trustless, decentralized, anonymous, remuneration for content creators.
1 stars 0 forks source link

Transaction cleanup #35

Closed fromheten closed 8 years ago

fromheten commented 8 years ago

My little TX cleanup

mattgstevens commented 8 years ago

wanting to turn the test transaction.buildTransaction back on but having troubles building mockData.

fromheten commented 8 years ago

Ok, so I havent tested your last commit with an actual bitcoin transaction, but it looks good and CI says it's happy.

Only thing I think should change

Could you try this out with an actual transaction and payout? Then I say LGTM 👏

mattgstevens commented 8 years ago

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!

fromheten commented 8 years ago

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

mattgstevens commented 8 years ago

rebased with the latest master

fromheten commented 8 years ago

This PR is 15 days old now... Let's get it merged asap yo

fromheten commented 8 years ago

@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?

mattgstevens commented 8 years ago

superseded by #44