Bitcoin Forum
November 12, 2024, 07:47:02 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitkit: set of tools in Python for Bitcoin  (Read 831 times)
XMPPwocky (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


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
XMPPwocky (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!