Title: Help with Casascius Escrow Scheme 'identifier31' Post by: luv2drnkbr on August 31, 2014, 02:43:02 AM Edit: Mods, if this is not the correct place for this, which board should I post similar questions in in the future? Is "technical support" more appropriate?
I've been fooling around with various bitcoin apps, including Casascius' Bitcoin Address Utility (https://en.bitcoin.it/wiki/Bitcoin_Address_Utility) and its Escrow functions (https://en.bitcoin.it/wiki/User:Casascius/Escrow_scheme_draft), and trying to recreate a lot of what they do in Python, just to help me learn Python. As a first sample test, I looked at the code (https://github.com/casascius/Bitcoin-Address-Utility/blob/master/Model/EscrowCode.cs#L82) for generating the initial escrow components, which was mostly matched (https://github.com/mannkind/bitescrow.org/blob/master/js/bitcoin.escrow.js#L7) at a website which implements it. However, for the life of me I cannot seem to output the correct prefix referred to as (https://en.bitcoin.it/wiki/User:Casascius/Escrow_scheme_draft#Base58_codes_.28draft.29_for_3-party_scheme) "constant plus identifier31". I was hoping somebody might be able to see the problem with my code. I've triple and quadruple checked the functions and variables being used, so I assume the code must be wrong somewhere in here, but it's reasonably simple and for the life of me I can't find the error. I was hoping somebody else's eyes might spot the problem. Why doesn't escrowA_actualprefix match escrowA_decodedprefix!? Code: einva = "140bebc0a12ca9c6" |