Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    sendtx 0.5.1

    Download button

    No screenshots available
    Downloads: 66  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    slush | More programs
    Public Domain / FREE
    August 19th, 2012, 16:14 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    sendtx description

    Send serialized Bitcoin transaction from command-line to Bitcoin network

    sendtx is a Python module for sending Bitcoin transaction directly to the Bitcoin network.

    What: This module broadcast given bitcoin transaction into Bitcoin network using just P2P connection to some trusted Bitcoin node.

    Why: No bitcoind patches needed anymore..

    How: Library creates two connections to the trusted node: One listen for new transactions on the network, second sends serialized transaction to the network. Trusted node make internal checks and if the transaction is valid, it accepts the transaction into it's memory pool and rebroadcast it to connected peers... ...so when our second (checking) connection sniff our txhash on the bitcoin network, we have a confirmation that the transaction has been succesfully accepted by the network.

    This library is built on top of ArtForz's half node with some modifications for Twisted framework. For this reason I'm using the hack with subprocess module, so calling application don't need to care about Twisted stuff.

    Commandline example: ./sendtx.py localhost 01000000015210999277896...0000000 Script returns exit code '42' on success.

    Python script example:

    !/usr/bin/python

    import sendtx try: sendtx.process('localhost', '01000000015210999277896...0000000') except: print "Broadcast failed"


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Bitcoin transaction | Python library | Bitcoin network | Python | Bitcoin | transaction

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM