Bitcoin Forum
December 13, 2017, 02:31:55 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [ANN] Protocoin - a pure Python Bitcoin protocol implementation  (Read 2405 times)
tarantulae
Newbie
*
Offline Offline

Activity: 5


View Profile
November 22, 2013, 11:49:41 PM
 #1

Just release Protocoin [1], a pure Python Bitcoin protocol implementation.

[1] http://protocoin.readthedocs.org/

Thanks !
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513132315
Hero Member
*
Offline Offline

Posts: 1513132315

View Profile Personal Message (Offline)

Ignore
1513132315
Reply with quote  #2

1513132315
Report to moderator
1513132315
Hero Member
*
Offline Offline

Posts: 1513132315

View Profile Personal Message (Offline)

Ignore
1513132315
Reply with quote  #2

1513132315
Report to moderator
1513132315
Hero Member
*
Offline Offline

Posts: 1513132315

View Profile Personal Message (Offline)

Ignore
1513132315
Reply with quote  #2

1513132315
Report to moderator
Ikinoki
Full Member
***
Offline Offline

Activity: 128


View Profile
November 23, 2013, 02:43:40 AM
 #2

So, how do you create a wallet? Or collect all data about particular address?
I assume you have to request all blocks and search through them for data relating to wallet?
And if I want to create wallet, what should I do?

Donations to 1LHTGFYHfMDgfgmDcYugW6RsKKfKBRfLVg
danneu
Jr. Member
*
Offline Offline

Activity: 32



View Profile
November 23, 2013, 03:55:00 AM
 #3

So, how do you create a wallet? Or collect all data about particular address?
I assume you have to request all blocks and search through them for data relating to wallet?
And if I want to create wallet, what should I do?


It appears to only implement the wire protocol (sending/receiving messages).
Ikinoki
Full Member
***
Offline Offline

Activity: 128


View Profile
November 23, 2013, 04:04:28 AM
 #4

Apparently so.
Protocol it is, pair it with py-ecc functionale and we can make wallets.

Donations to 1LHTGFYHfMDgfgmDcYugW6RsKKfKBRfLVg
Ikinoki
Full Member
***
Offline Offline

Activity: 128


View Profile
November 23, 2013, 04:19:03 AM
 #5

You obviously need multiple clients connected and check for the timestamps?
Not sure how you can verify right chain....

Donations to 1LHTGFYHfMDgfgmDcYugW6RsKKfKBRfLVg
Ikinoki
Full Member
***
Offline Offline

Activity: 128


View Profile
November 23, 2013, 04:59:10 AM
 #6

But should not you receive the orphaned block memo or something?
I'm not yet finished with Bitcoin paper but this seems like an obvious idea.

Donations to 1LHTGFYHfMDgfgmDcYugW6RsKKfKBRfLVg
danneu
Jr. Member
*
Offline Offline

Activity: 32



View Profile
November 23, 2013, 06:23:56 AM
 #7

If an honest peer sees that you're on a weaker fork, it responds by catching you up with the strongest fork that it knows.

So if you possess zero verification ability because you only have a library that implements the wire protocol, I guess you're left to hoping that you're connected to mostly honest nodes and can cross-examine their messages to infer a consensus.

https://en.bitcoin.it/wiki/Thin_Client_Security
Sukrim
Legendary
*
Offline Offline

Activity: 2212


View Profile
November 23, 2013, 02:35:44 PM
 #8

If you get sybil'ed (only connecting to malicious nodes) you will have a bad time... on the other hand, you can expect to receive blocks at a rate of 1 block every 10 minutes within a certain distribution - if this is not the case you should probably reconnect to other nodes. Also as soon as you get a good node, you'd catch up.

Is this library generic enough to handle Altcoins by the way?

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
Ikinoki
Full Member
***
Offline Offline

Activity: 128


View Profile
November 28, 2013, 03:39:38 PM
 #9

There's is a way to check nodes and download blockchains fully and check their sizes?

16GB download, yeah...

Donations to 1LHTGFYHfMDgfgmDcYugW6RsKKfKBRfLVg
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!