Bitcoin Forum
November 12, 2018, 09:00:45 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] Protocoin - a pure Python Bitcoin protocol implementation  (Read 2432 times)
tarantulae
Newbie
*
Offline Offline

Activity: 5
Merit: 0


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 !
1542056445
Hero Member
*
Offline Offline

Posts: 1542056445

View Profile Personal Message (Offline)

Ignore
1542056445
Reply with quote  #2

1542056445
Report to moderator
1542056445
Hero Member
*
Offline Offline

Posts: 1542056445

View Profile Personal Message (Offline)

Ignore
1542056445
Reply with quote  #2

1542056445
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Ikinoki
Full Member
***
Offline Offline

Activity: 128
Merit: 100


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
Newbie
*
Offline Offline

Activity: 32
Merit: 0



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
Merit: 100


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
Merit: 100


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
Merit: 100


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
Newbie
*
Offline Offline

Activity: 32
Merit: 0



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: 2408
Merit: 1002


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://www.coinlend.org <-- automated lending at various exchanges. No fees(!).
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
Ikinoki
Full Member
***
Offline Offline

Activity: 128
Merit: 100


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!