Bitcoin Forum
April 28, 2017, 02:16:43 PM *
News: If the forum does not load normally for you, please send me a traceroute.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: [ANN] pynode: Simple bitcoin P2P node  (Read 6209 times)
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
September 23, 2012, 04:28:25 PM
 #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.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1493389003
Hero Member
*
Offline Offline

Posts: 1493389003

View Profile Personal Message (Offline)

Ignore
1493389003
Reply with quote  #2

1493389003
Report to moderator
1493389003
Hero Member
*
Offline Offline

Posts: 1493389003

View Profile Personal Message (Offline)

Ignore
1493389003
Reply with quote  #2

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

Posts: 1493389003

View Profile Personal Message (Offline)

Ignore
1493389003
Reply with quote  #2

1493389003
Report to moderator
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 2240



View Profile
September 24, 2012, 12:01:10 AM
 #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.

wabber
Member
**
Offline Offline

Activity: 85


View Profile
September 24, 2012, 09: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.
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
October 01, 2012, 06: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.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
October 06, 2012, 02:48:06 AM
 #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.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
March 07, 2013, 09: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.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
March 08, 2013, 03:04:42 AM
 #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.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
tehace
Member
**
Offline Offline

Activity: 84


View Profile
March 21, 2013, 06: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)

DOGE: DChHzYffNDrMsM9L1GtG14cmp1NUXrEe9Z
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
March 21, 2013, 06: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.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
tehace
Member
**
Offline Offline

Activity: 84


View Profile
March 21, 2013, 06:59:30 PM
 #30

Thanks for the quick reply. As soon as I figure stuff out I shall contribute anything useful I do back.

DOGE: DChHzYffNDrMsM9L1GtG14cmp1NUXrEe9Z
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
August 21, 2013, 12:52:50 PM
 #31

This received several bug fixes, by way of its use of python-bitcoinlib.

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
September 03, 2013, 05:29:23 PM
 #32

Merged "addnodes" support, so that additional nodes may be added via configuration file.

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
weex
Legendary
*
Offline Offline

Activity: 1099


Give me your tired, your poor, your huddled...


View Profile
September 03, 2013, 10:39:21 PM
 #33

Nice. This is a fun project to play around with.

phelix
Legendary
*
Offline Offline

Activity: 1680


nmc:id/phelix


View Profile
April 22, 2015, 12:27:14 PM
 #34

Is pynode still being updated? Or is there a follow up?

blockchained.com ■ bitcointalk top posts
Pages: « 1 [2]  All
  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!