20 May, 2013

12 commits


18 May, 2013

2 commits


17 May, 2013

7 commits


16 May, 2013

1 commit

  • first found in testnet3 block 0000000000ac85bb2530a05a4214a387e6be02b22d3348abc5e7a5d9c4ce8dab transactions

    all testnet3 blocks below include the same invalid opcode testing scripts with increasing size.

    json serialization roundtrip takes really on after 250kb, parsing with serialization is fast though.

    0000000000ac85bb2530a05a4214a387e6be02b22d3348abc5e7a5d9c4ce8dab (block 54503) 40.699 kilobytes
    00000000003ba174fd77250a04eba0e15134da0b4edfb9996bfedffdd235f97c (block 54504) 250.36 kilobytes
    00000000005991f9f4a17b344907af42ae5e785b6c7e0943a50cdb2975eeb746 (block 54507) 998.36 kilobytes
    0000000001725caeac94b12c99a303a83fa987980700cc7a3b6dd472eb5f0d82 (block 54508) 999.36 kilobytes

    also parsing Script.new("\xff\xff\xff") breaks with `bitcoin-ruby/lib/bitcoin/script.rb:145:in `|': can't convert nil into Integer (TypeError)` - fixed now.

    Julian Langschaedel
     

15 May, 2013

1 commit

  • benchmark results parsing last 3000 blocks: 360 down to 50 seconds!

    switch to using io streams (with read, pos and seek) instead of creating lots of new string with `field, buf = buf.unpack("Ia*")`

    keep the backwards compatible methods for now and remove them at some point.

    Julian Langschaedel
     

14 May, 2013

1 commit


11 May, 2013

2 commits


10 May, 2013

2 commits


09 May, 2013

3 commits


08 May, 2013

1 commit


07 May, 2013

4 commits


06 May, 2013

4 commits