Bitcoin Forum
December 05, 2016, 04:56:46 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitkit: set of tools in Python for Bitcoin  (Read 661 times)
XMPPwocky
Newbie
*
Offline Offline

Activity: 21


View Profile WWW
February 07, 2012, 09:45:29 PM
 #1

Current features:
  • Implementation of entire Bitcoin protocol [except IP transaction stuff], parsing and building (with a switch to checksum all packets)


Planned features:
  • Network mapper: map the entire Bitcoin network
  • Node locator: do you see /multiple/ odd transactions that seem related? Find out what node's sending them!
  • (possible): Full client!
  • (possible): Block Explorer clone!
  • Dedicated blockchain server! (possibly translated to C with PyPy)

Give the repo a clone and take a look!
Code:
$ git clone http://xmppwocky.net/bitkit/.git
$ cd bitkit
$ less README
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480957006
Hero Member
*
Offline Offline

Posts: 1480957006

View Profile Personal Message (Offline)

Ignore
1480957006
Reply with quote  #2

1480957006
Report to moderator
1480957006
Hero Member
*
Offline Offline

Posts: 1480957006

View Profile Personal Message (Offline)

Ignore
1480957006
Reply with quote  #2

1480957006
Report to moderator
1480957006
Hero Member
*
Offline Offline

Posts: 1480957006

View Profile Personal Message (Offline)

Ignore
1480957006
Reply with quote  #2

1480957006
Report to moderator
XMPPwocky
Newbie
*
Offline Offline

Activity: 21


View Profile WWW
February 10, 2012, 12:07:56 AM
 #2

Code:
wocky@XMPPwocky ~/h4x/bitcoin/bitkit $ pylint -d I bitkit


Report
======
235 statements analysed.

Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |13     |13         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |5      |5          |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |9      |9          |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |24     |24         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+



Raw metrics
-----------

+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |326    |71.49 |326      |=          |
+----------+-------+------+---------+-----------+
|docstring |87     |19.08 |87       |=          |
+----------+-------+------+---------+-----------+
|comment   |7      |1.54  |7        |=          |
+----------+-------+------+---------+-----------+
|empty     |36     |7.89  |36       |=          |
+----------+-------+------+---------+-----------+



Messages by category
--------------------

+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |0      |0        |=          |
+-----------+-------+---------+-----------+
|refactor   |0      |0        |=          |
+-----------+-------+---------+-----------+
|warning    |0      |0        |=          |
+-----------+-------+---------+-----------+
|error      |0      |0        |=          |
+-----------+-------+---------+-----------+



Global evaluation
-----------------
Your code has been rated at 10.00/10 (previous run: 10.00/10)

Duplication
-----------

+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |0        |=          |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000    |=          |
+-------------------------+------+---------+-----------+



External dependencies
---------------------
::

    IPy
      \-IP (bitkit.protocol.structures)
    construct
      \-ConstructError (bitkit.protocol)
      \-Container (bitkit.protocol)


Now onward, to tests!
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!