Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

That's a very interesting project. I played with the idea of parsing all past bitcoin transactions into a PostgreSQL database to fool around with the dataset and test some theories.

I didn't have the time and energy to really find out how to parse the blocks and such. Could i parse all the transaction data with your modules?

Warning: completly reimplementing a complete bitcoin client in pure Perl isn't something i would recommend. While 99% of the port would make sense to me (hey, i wrote my own webserver in Perl...), i really recommend that you use existing cryptographic libraries whereever possible. Cryptography is very, very, very hard to get right and extremly easy to mess up. You may ask "kroeckx" from the Debian team who did a little patch for the Debian team, which has had a few unintended side effects.

You can find quite a few examples of why cryptography either works perfectly or not at all on the net. For example, the yearly Chaos Communications Congress has quite a few examples including this one which also explains a few things about bitcoin.

"I know what i'm doing! Look, what could possibly go wrong? All i have to pull this lever like so, and then press this button here like ArghhhhhaaAaAAAaaagraaaAAaa!!!"

In reply to Re: Bitcoin in perl by cavac
in thread Bitcoin in perl by grondilu

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (4)
    As of 2018-05-20 18:12 GMT
    Find Nodes?
      Voting Booth?