Pages:
Author

Topic: [ANN] pynode: Simple bitcoin P2P node (Read 7440 times)

legendary
Activity: 1708
Merit: 1020
April 22, 2015, 07:27:14 AM
#34
Is pynode still being updated? Or is there a follow up?
legendary
Activity: 1102
Merit: 1014
September 03, 2013, 05:39:21 PM
#33
Nice. This is a fun project to play around with.
legendary
Activity: 1596
Merit: 1100
September 03, 2013, 12:29:23 PM
#32
Merged "addnodes" support, so that additional nodes may be added via configuration file.
legendary
Activity: 1596
Merit: 1100
August 21, 2013, 07:52:50 AM
#31
This received several bug fixes, by way of its use of python-bitcoinlib.
member
Activity: 84
Merit: 10
March 21, 2013, 01:59:30 PM
#30
Thanks for the quick reply. As soon as I figure stuff out I shall contribute anything useful I do back.
legendary
Activity: 1596
Merit: 1100
March 21, 2013, 01:56:15 PM
#29
Hello I am a bit new to programming but I would love to experiment around with pynode and python-bitcoinlib are there any guides or source code examples available or would I need to figure that stuff out myself? (I promise not to store anyone's life savings using it until I know the node and libs inside and out inside and out)

pynode and assorted utilities dbck.py and mkbootstrap.py are essentially source code examples for python-bitcoinlib.  Unfortunately that's it.

Contributed examples are welcome in both projects, however.

member
Activity: 84
Merit: 10
March 21, 2013, 01:51:55 PM
#28
Hello I am a bit new to programming but I would love to experiment around with pynode and python-bitcoinlib are there any guides or source code examples available or would I need to figure that stuff out myself? (I promise not to store anyone's life savings using it until I know the node and libs inside and out inside and out)
legendary
Activity: 1596
Merit: 1100
March 07, 2013, 10:04:42 PM
#27
Library forked, and moved to a new home and forum thread:

     https://github.com/jgarzik/python-bitcoinlib

Pull requests and donations welcome, as always.

legendary
Activity: 1596
Merit: 1100
March 07, 2013, 04:37:26 PM
#26
pynode is very much alive and well.  It is becoming popular enough that we can branch off the internal "bitcoin" sub-directory into a proper python library, python-bitcoinlib.

Stay tuned for details.

legendary
Activity: 1596
Merit: 1100
October 05, 2012, 09:48:06 PM
#25

The on-disk block file format was just updated to match the network's "block" message format.

This is an incompatible change.  You will need to delete, and re-download, your block databases.

legendary
Activity: 1596
Merit: 1100
October 01, 2012, 01:19:06 AM
#24
Thanks (again) to socrates1024, pynode has switched to using the leveldb database, plus a flat file format for raw blockchain data.

This database upgrade is wholly incompatible with the previous GDBM-based database.

When signature checking is disabled, the entire blockchain may be downloaded in 34 minutes.

When signature checking is enabled, the blockchain download process takes many hours (6-12), due to slowness of python.

member
Activity: 85
Merit: 10
September 24, 2012, 04:45:35 PM
#23
Wondering if an Electrum client might be able to modified to talk to a pynode ... or vice versa?

What does Electrum use to talk to bitcoind?   pynode provides a JSON-RPC HTTP server interface, just like bitcoind...



It uses the Stratum protocol ... but I don't have detailed knowledge of that, yet.

there are 2 electrum applications: the electrum client and the electrum server. The electrum server talks to bitcoind using the JSON-RPC interface but stores it's own blockchain. The electrum client talks to the electrum server using the stratum protocol.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
September 23, 2012, 07:01:10 PM
#22
Wondering if an Electrum client might be able to modified to talk to a pynode ... or vice versa?

What does Electrum use to talk to bitcoind?   pynode provides a JSON-RPC HTTP server interface, just like bitcoind...



It uses the Stratum protocol ... but I don't have detailed knowledge of that, yet.
legendary
Activity: 1596
Merit: 1100
September 23, 2012, 11:28:25 AM
#21
Very nice tool. Am I correct that this could be the basis of a tool to monitor large numbers of addresses for activity?

Sure.  It could monitor whatever metrics you need, on the bitcoin network.

legendary
Activity: 1596
Merit: 1100
September 23, 2012, 11:27:42 AM
#20
Wondering if an Electrum client might be able to modified to talk to a pynode ... or vice versa?

What does Electrum use to talk to bitcoind?   pynode provides a JSON-RPC HTTP server interface, just like bitcoind...

sr. member
Activity: 476
Merit: 250
September 23, 2012, 09:43:10 AM
#19
preserved
newbie
Activity: 14
Merit: 0
September 23, 2012, 09:38:20 AM
#18
Very nice tool. Am I correct that this could be the basis of a tool to monitor large numbers of addresses for activity?
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
September 23, 2012, 02:24:23 AM
#17
Not sure how this one slipped under my radar ...

Wondering if an Electrum client might be able to modified to talk to a pynode ... or vice versa?
legendary
Activity: 1596
Merit: 1100
September 23, 2012, 12:14:35 AM
#16

Thanks to socrates1024, pynode got a much needed upgrade from python's asyncore to the more modern gevent. 

This opens the door to easy multi-peer operation, so expect full node status very soon.

member
Activity: 69
Merit: 20
August 23, 2012, 11:16:05 AM
#15
In addition to the fully validating node and python-bitcoin module, pynode also maintains a branch that contains a non-validating node calling a "mini-node", naturally found in the "mini-node" branch of pynode.git:

      https://github.com/jgarzik/pynode/tree/mini-node

This is essentially ArtForz' half-a-node, with the minimum needed to work on mainnet.

Forks have already started appearing.  blkmond inside pushpoold existed for a long time.  And bitcoin network sniffer fork also just appeared.



Thanks jgarzik for pointing this out, I haven't seen this before, so I went and create my own... Sad
Pages:
Jump to: