-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature: smarter funder recognition code. #50
Comments
issue #5 discussions are around adding dependency on a 3rd service (1. github 2. blockchain 3. crypto client ) that seems unnecessary when all the information is contained in the public ledger. |
I'm a bit confused, why do you need to traverse the blockchain? |
all of this is new territory for me, i am also a bit confused & learning as i go.
i guess it depends which tx you select, it's a chain, so each tx has downstream and upstream transactions (except when there is no "change" and then the chain of transactions ends), it seems that your code is currently only looking downstream, and therefore funders are required to paste in a new link to a transaction in order for them to be credited. ( because if i paste in my wallet address, which is what i actually want to be associated with the regexp will NOT locate it as it is currently implemented ) perhaps my wallet implementation is messed up? disclaimer: i have about 2 weeks worth of "experience" with this new technology so i might be way off with my understanding of how it works, but i did read the white paper ( see section 9. Combining and Splitting Value ) which explains input and output values and why the output must spawn completely new transaction to return the "change" to the originator. |
No, I mean can't I just look at the transactions that deposit into the bitcoin address that represents an iteration. We are doing that already, we just need to look for wallets we already know. we don't need to traverse any deeper than one tx though. |
@dominictarr yes, thats exactly correct, except in this example (see pic above) the funders wallet address is actually upstream of the tx (1 hop) and the code is only searching for a matching wallet address downstream (i.e. a child of this tx -- not a parent) and therefore it is not found and the connection to a funder cannot be made. |
I don't see why you need to traverse downstream - someone who funded a iteration could have funded another project, and the maintainer of that project funds your project - but this is two different people. If someone pays directly from the same wallet, you could assume that is from the same user - but if they transfer into another wallet, then whoever controls that wallet pays you, you should assume that is a different person. |
good point, i hadn't considered that ! |
i added this small 2nd donation as a test case..
here is the tx link
having local storage available creates an opportunity to additionally fix this issue, by..
i.e. top of the stack, and therefore unclaimed if the final address does not match
does this scale ?
max_hops
setting)and finally..
IMO this can be pushed to
iteration.3
as there is already a lot in the queue for #20The text was updated successfully, but these errors were encountered: