Bitcoin Forum
May 14, 2024, 01:01:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: 2 BTC bounty for fixing our multi-signature bug in the Bitcore API on: March 22, 2015, 09:51:50 PM
You form the redeem script from the pubkeys. With 3 public keys, there are 6 different permutations. Each of them leads to a different multi-sig address.
Interestingly, none of them matches the one you need.

- 123 3R1UQV2dHeXN2S3fiUqzFZnKougMdyEYv9
- 213 37yynZQMVYP2c7aU3MMQuRNT35Ef4n7gMA
- 132 36Dpfp5JqZXnkRQE6QTCRPxUmsbp9iQVSR
- 231 3DYmesQmQF5LrYG948bQfsuK7J9waZ9ZyG
- 312 36zHiQfWSnWVeLXSY9qGqHTXqCLad1Qdyk
- 321 3Lc3xpDc2TGgr4PukALsa4GMXvK69fA76h"

Either you are trying to redeem from the wrong address, or you don't have the right pubkeys.

This does seem to accurately identify the problem. I will start looking to see if I can find the cause.


Edit: The problem has been solved, thanks to the information from hhanh00! The indices being used to derive public keys from master keys were out of order in one location, which resulted in the wrong public keys being used.
2  Bitcoin / Development & Technical Discussion / Re: 2 BTC bounty for fixing our multi-signature bug in the Bitcore API on: March 22, 2015, 09:38:47 PM
... and you will see that the "OP_3 OP_CHECKMULTISIG" suffix is missing.

I do not believe this is the problem, unfortunately.

The final 105 bytes would be the redeemScript.

Code:
00
[OP_FALSE]

47
[PUSH 71 BYTES]

3044022001f4524959d67cbb94ec3b467701855994a28105190a116402996f82fdbf210b02205579e4a9fb3a79619aab36e839140907924afa9aedc56f0d0a4ffa91e16ae71501
[71 BYTES, Signature]

48
[PUSH 72 BYTES]

304502210089d971e533932f4052c03c888525ba5d41f833a7e0ecef565e4106ef2dd4caff022060aa16868d08c85f7864b5be2b3f3d715b3aff15e36aeb47d48d7182684e2fae01
[72 BYTES, signature]

4c
[OP_PUSHDATA1]

69
[PUSH 105 BYTES]

5221029c17ce9a40a71d21cf53844704dd611c85a2dc0072e22c9f14a485e6bb4ad4f42102b732df6d447e7fc04466522ebefe48fd07d9b5810ca1f572985f4386e36d5d132103e5c93bd1fbf87b30b093c2613b5c6ad7727005fd39fbee95136368c6918f13c053ae
[105 BYTES, redeemScript]

Edit: And here is the redeemScript decoded.

Code:
52
[OP_2]

21
[PUSH 33 BYTES]

029c17ce9a40a71d21cf53844704dd611c85a2dc0072e22c9f14a485e6bb4ad4f4
[33 BYTES, pubkey]

21
[PUSH 33 BYTES]

02b732df6d447e7fc04466522ebefe48fd07d9b5810ca1f572985f4386e36d5d13
[33 BYTES, pubkey]

21
[PUSH 33 BYTES]

03e5c93bd1fbf87b30b093c2613b5c6ad7727005fd39fbee95136368c6918f13c0
[33 BYTES, pubkey]

53
[OP_3]

ae
[OP_CHECKMULTISIG]
3  Economy / Service Announcements / Re: [Ann] Cryptowatch.com on: March 01, 2015, 10:45:27 PM
Seems to be working well, good work!
4  Bitcoin / Project Development / Re: [LIST] You favorite Crypto Projects/ Startups/GitHub repositories on: November 08, 2014, 06:34:17 PM
If you don't mind a little self-promotion...

MyChain: http://mychain.io/

An open source block chain explorer in Node.js, with source code available at https://github.com/thofmann/mychain.
5  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 23, 2014, 04:08:44 PM
I was testing with an address where the final balance is 50.02498463BTC. But when I'm checking http://mychain.io/address/12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX it is showing the following...

Received:   0.02 BTC
Possibly received: 0.004984630000000001 BTC
I found the reason for this. The missing transaction (the generation transaction for 50 BTC from the block at height 1) on the page doesn't use the now-standard pay-to-pubkey-hash (P2PKH) redemption script. It instead pays directly to the pubkey (P2PK). This is why the lookup for the scriptPubKey_hash in the database failed to find the transaction. I'll have to consider whether this is something that should be changed, but at the moment I think it is most accurate to leave it as it is.

The other transactions that pay to that address use P2PKH, probably from people trying to donate to Satoshi by using the address generated by some other block explorer that displays P2PK scripts as addresses.


---

On a side note, I've restructured the database. This requires syncing with the block chain all over again, so the mychain.io server will not be up-to-date until it finishes indexing the outputs. I've added a Server Status message at the bottom of each page showing the progress when syncing.
6  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 22, 2014, 01:11:23 AM
In response to the wallet,
yes, the log-in sequence is quite secure, but it's a hassle for many users and it's
quite confusing with all the same repeating colors and such. Sad
The wallet is far from finished. That login sequence you see is basically all I have so far, and it is only experimental. The most common login method right now seems to be the ~12 word passphrases, but I thought this grid sequence was not any harder to remember and would easier to input (particularly on mobile). It is not final, and I am completely open to suggestions for other login methods.

Great to see that more block explorers are coming live. I'm a little confused about how balance is shown on mychain.io. I was testing with an address where the final balance is 50.02498463BTC. But when I'm checking http://mychain.io/address/12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX it is showing the following...

Received:   0.02 BTC
Possibly received: 0.004984630000000001 BTC

How do I know the spendable amount of an address from the above data ?
I chose to display data with an accurate description, rather than use misleading terms such as "from address" and "address balance". Deciding the terminology was partly inspired and assisted by luke-jr, but I agree with the decisions I made.

The 'received' value is the largest amount paid to an address by any single confirmed transaction. Any extra transactions are added to the 'possibly received' value. This is because addresses should be used as one-time payment destinations, not as accounts or wallets. Address reuse is bad for privacy as well as security.

That specific address you linked to does not include the generation transaction it should have received in the second block of the chain. That's a bug you just found, and I'm looking into it right now. It seems like it applies to more than just that block. I've marked the issue on Github and will be fixing it ASAP. Thank you very much for reporting it!

Edit: To clarify my answer to your last question, mychain.io does not show the spendable amount an address has because an "address balance" is a misleading term that encourages address reuse (bad). Balances should be displayed on a wallet/account level by your software wallet.
7  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 21, 2014, 04:46:10 PM
Files takes between 300ms and 500ms to be served. Maybe this is linked with my FAI (still with 2 different it's same, in France), or it can be linked with your cache system is you have any. I just notice it takes time to load your interface, but not always, some times it's fast.
The longer times are probably when looking up something more processor-heavy, such as an address where it must look through the entire outputs database to see what outputs pay to that address. I'll continue to optimize where I can.

About GooChain, since you use similar system as other block explorers (/block/, /tx/, ...) , it will be really easy for us to add in Goochain.
Great!
8  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 20, 2014, 03:04:51 PM
Please consider trimming off spaces before processing the search.

Thanks again for the suggestion. It has been implemented.
9  Bitcoin / Project Development / Re: Standardising Bitcoin Terminology on: October 17, 2014, 09:19:05 PM
This is a nice glossary: https://github.com/oleganza/CoreBitcoin/blob/master/GLOSSARY.md
10  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 17, 2014, 09:07:48 PM
Not so bad, I like minimalist interface. Sadly, your webserver doesn't show up so much responsiveness, for now.
I would consider adding it to Goochain "Links To" when you will fine-tune your great new block explorer.

Thank you for the feedback. Could you be more specific in regards to a lack of responsiveness? The site seems to be running smoothly for me.

It would be great if you could add it to Goochain! Is there anything I could do to help you with this?
11  Bitcoin / Project Development / Re: Get your site viewed by 100`s a day. on: October 17, 2014, 06:22:08 PM
If you are looking for a block chain explorer, I would appreciate a review for http://mychain.io. Thanks!
12  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 17, 2014, 05:40:06 PM
I like the minimalist design. Are you planning on dogecoin/litecoin etc support?
However, if I copy and paste an address and accidentally copy a space at the start or end, it doesn't work. Blockchain.info cuts off spaces, but your site doesn't. Please consider trimming off spaces before processing the search.

Thanks! I am not currently planning altcoin support, but it would be fairly easy to switch to a different coin's RPC daemon.

That's a great suggestion. I'll add whitespace trimming ASAP.
13  Bitcoin / Project Development / Re: [ANN] MyChain - Your new favorite open source block chain explorer on: October 16, 2014, 07:39:12 PM
Next project: MyWallet

http://wallet.mychain.io/
https://github.com/thofmann/mywallet

Lots of work to be done.
14  Bitcoin / Project Development / [ANN] MyChain - Your new favorite open source block chain explorer on: October 13, 2014, 03:02:26 AM


Hi!

I've been developing an open source Bitcoin block chain explorer. It is now functional enough for public testing:

http://mychain.io

Please feel free to use it however you see fit. I would greatly appreciate any attempts to break it, especially if any discovered issues are reported on the Github repository: https://github.com/thofmann/mychain/issues. Pull requests are also welcome!

I was hoping to emphasize simplicity and accurate portrayal of block chain data, without promoting any misleading concepts such as "address balances" and "from addresses".
15  Economy / Services / Re: Graphic Design Service & Portfolio - Specializing in Logo and Print design on: October 13, 2014, 02:52:08 AM
Thank you for the great work on the MyChain (and MyWallet, etc.) logo!

I tweaked it a little bit, but your design is now up on http://mychain.io. The image itself is located here: http://mychain.io/img/logo.png

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!