-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$1500 bounty for the creation of address index in btcd #190
Comments
To get anyone willing to take this on started, here are some key points about what needs to happen for this to become a reality:
|
This looks pretty interesting. I might be willing to take a crack at it. I'm pretty familiar with the First off, I have a few questions (some of which discussed briefly w/ @davecgh on irc earlier):
Thanks for the great overview @davecgh . I think I have a good picture of how to best integrate this into btcd, staying true to code style and concurrency patterns throughout the codebase. Throughout development, I'll be sure to maintain open communication with both parties to ensure all are satisfied with the work. If all is agreed upon, I may be able to start as early as next week. I have two completely free weeks coming up, and should be able to make a major development push towards completion. |
@Roasbeef, that sound great!
yeah the interface should emulate |
|
@Roasbeef, you can also avoid the additional parameter and just include unconfirmed transactions with the field |
@Roasbeef As mentioned on IRC, in regads to memdb, I think you should only need the stubs to make the interface compile. I'm fine with being one of the the escrow holders. |
@ouziel-slama confirmed, the API call will return the number of confirmations for each transaction (with zero begin unconfirmed) @ivanaszuber and @davecgh who will be the third signatory for the 2-of-3 escrow? Also to flesh out the details a bit more, what will be the agreed upon protocol for the multi-sig itself. Pass around a partially signed transaction, use something like Bitpay's Copay? Only thing required on my part is, (through maybe a more private channel), presenting an address to pay to, correct? I feel like we should discuss the remainder of the escrow and payment details, "offline" via a more private channel. I can use this issue for development updates/questions once I've began. |
@Roasbeef I would assume another person from the Counterparty team since they are offering the bounty. Either that, or go with a 1-of-2 so either @ivanaszuber or me can release the funds. I figured we'd just use a partially signed transaction. Your address is only needed when the funds are released. Prior to that, the involved escrow holders create the multisig transaction using our pubkeys and send the funds to the resulting p2sh address (3xxxxxxx) where they remain in escrow until they are eventually released by spending them to an address you provide. I'm available on IRC to discuss particulars. |
The traditional way of handling this situation, AFAIK, is to use 2-of-3, where @Roasbeef himself holds one key. That way neither @ivanaszuber nor @davecgh can run away with the funds, and @Roasbeef gets paid if either @ivanaszuber or @davecgh thinks he deserves to be. |
@adamkrellenstein Good point. That makes the most sense. |
If @davecgh and @Roasbeef e-mail their public keys to @ivanaszuber (ivanaz@counterparty.io), we can send the funds to a |
Done |
Thanks @davecgh , got it. |
Done |
I was asking about this back in May 2014 for one of my earlier BTC address tracking applications. The use case goes way beyond Counterparty transactions. I will also be very useful for Factom as well, since we will be relying on the Bitcoin blockchain for security. |
@carryforward great to hear others will also have a use for the new feature. The final PR has been marked as ready for review. I'm still currently testing the current code, trying to find and shake out any lingering bugs. I've indexed the testnet (for speed of index) chain a few times over, and exercised all the possible scenarios w.r.t to syncing vs building the index. All seems to be functionally correct, but I'd also appreciate any help testing out the new changes.
|
@ivanaszuber, @adamkrellenstein: PR #205 is nearing completion. I'm still doing a lot of testing on it and it needs another round of code review, but it should be ready for you guys to pull and test to make sure it does what is expected. As @Roasbeef posted above, once the address index is activated with EDIT: I should note that it takes quite a while to build the index since it has to load, parse, and extract the addresses from every single script in every transaction in the block chain. |
@davecgh we've done our initial testing and it seems to work as expected (we didn't run into any issues so far). Once you complete your code review we can proceed with the payment |
@ivanaszuber Thanks for the update. I'm done with the code review and testing. The only thing that remains is for the |
This has been implemented by #205 and is now available on master. |
…lude-0s indexers: only include positions that were found
The Counterparty team is offering a $1500 bounty for the creation of address index in btcd.
Counterparty is currently using local Insight servers for providing counterpartyd with Bitcoin block explorer functionality, and we'd like to switch to using btcd as our backend as soon as it's production-ready. For this we need btcd to index transactions by address.
Related: #185
The text was updated successfully, but these errors were encountered: