Author

Topic: Bitkit: set of tools in Python for Bitcoin (Read 833 times)

newbie
Activity: 21
Merit: 0
February 09, 2012, 07:07:56 PM
#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!
newbie
Activity: 21
Merit: 0
February 07, 2012, 04: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
Jump to: