News for hackers. Stuff that matters.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by notthemessiah on Friday March 17, 2017 @11:25AM (#13894661)
Am I the only one annoyed by the name? "Bit" isn't very useful or specific, yet it takes up a pretty big parking space.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by nerdponx on Friday March 17, 2017 @01:09PM (#13895744)
Agreed. Why not call it "python-bitcoin"?

    pip install python-bitcoin
and

    import bitcoin
would be great. Otherwise the name "Bit" makes me think it's some kind of bit manipulation tools library.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by bbcbasic on Friday March 17, 2017 @12:48PM (#13895505)
A parking space in ofek's city though. Feel free to call your project bit too.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by pierrec on Friday March 17, 2017 @02:54PM (#13896841)
That's not really how Python packages work. Public packages need unique names, mostly because of PyPI, where package names are all on the same namespace. This can cause some interesting problems:

https://www.python.org/dev/peps/pep-0541/

Even locally, all packages are supposed to have unique names (though virtualenvs can make things nicer).

Re:Show HN: Bit – A fast and easy Python Bitcoin library by nerdponx on Friday March 17, 2017 @01:09PM (#13895747)
If you release software to the public, you run the risk of other people wanting you to use it.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by wyldfire on Friday March 17, 2017 @10:30AM (#13894219)
Thanks for testing on pypy and for supporting Python 3! Sometimes it's just a small set of changes to support python 3 and testing on pypy is awesome, so thanks!

bit.PrivateKey.get_transactions -- would there be any way to filter these on transactions since a given block height?

Re:Show HN: Bit – A fast and easy Python Bitcoin library by ofek on Friday March 17, 2017 @04:05PM (#13897491)
Not yet, but limiting by # of confirmations is planned!
Re:Show HN: Bit – A fast and easy Python Bitcoin library by wbond on Friday March 17, 2017 @10:14AM (#13894111)
Nice to see the project that inspired your recent https://github.com/pyca/cryptography performance work, ofek!
Re:Show HN: Bit – A fast and easy Python Bitcoin library by ofek on Friday March 17, 2017 @04:03PM (#13897470)
Thanks! FYI, with pyca/cryptography 1.8 using your https://github.com/wbond/asn1crypto, Bit's ECDSA signing is >100 usec faster :)
Re:Show HN: Bit – A fast and easy Python Bitcoin library by bbcbasic on Friday March 17, 2017 @12:52PM (#13895561)
Vulnerable if https://bitpay.com/api/rates gets hacked.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by ofek on Friday March 17, 2017 @04:07PM (#13897506)
Re:Show HN: Bit – A fast and easy Python Bitcoin library by bbcbasic on Friday March 17, 2017 @10:09PM (#13899520)
I think that relying on it should be the default rather than an advanced option. Kind of like "locked down by default" that you'd want from a database that isn't mongodb.
Re:Show HN: Bit – A fast and easy Python Bitcoin library by aikorevs on Friday March 17, 2017 @07:32AM (#13893143)
So what is real life case for this ?
Re:Show HN: Bit – A fast and easy Python Bitcoin library by delta1 on Friday March 17, 2017 @08:15AM (#13893362)
> When I originally went to experiment with sending Bitcoin there were really no good choices.

https://ofek.github.io/bit/guide/intro.html#why-bit

Re:Show HN: Bit – A fast and easy Python Bitcoin library by ofek on Friday March 17, 2017 @07:01PM (#13898717)
Re:Show HN: Bit – A fast and easy Python Bitcoin library by bedros on Monday March 20, 2017 @02:57AM (#13912282)
bitc would be a better name

using a generic word as name would make it harder for search engine to rank your site