Skip to content

Commit

Permalink
python docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
trinayanbhatt committed Jun 27, 2018
1 parent 830e8a8 commit 0017f5f
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 1,383 deletions.
2 changes: 1 addition & 1 deletion docs/source/address.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Address Class

.. class:: Address

Address class is used to call address related functions like generate new address, list all addresses and no of addresses on the node's wallet, check if given address is valid or not, check if given address has mining permission or not and check a particular address balance on the node functions which are used on the RecordsKeeeper Blockchain.
Address class is used to call address related functions like generate new address, list all addresses and no of addresses on the node's wallet, check if given address is valid or not, check if given address has mining permission or not and check a particular address balance on the node functions which are used on the RecordsKeeeper Blockchain.


**1. Generate new address on the node's wallet**
Expand Down
211 changes: 0 additions & 211 deletions docs/source/address3.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/assets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Assets Class

.. class:: Assets

Assets class is used to call assets related functions like create assets and list assets functions which are used on the RecordsKeeeper Blockchain.
Assets class is used to call assets related functions like create assets and list assets functions which are used on the RecordsKeeeper Blockchain.


**1. Create Assets on the RecordsKeeper Blockchain**
Expand Down
121 changes: 0 additions & 121 deletions docs/source/assets3.rst

This file was deleted.

8 changes: 4 additions & 4 deletions docs/source/block.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ Block Class

.. class:: Block

**1. Block info to retrieve block information**
Block class is used to call block related function like blockinfo which is used to retrieve block details like block's hash value, size, nonce, transaction ids, transaction count, miner address, previous block hash, next block hash, merkleroot, blocktime and difficulty of the block for which you have made the query.

Block class is used to call block related function like blockinfo which is used to retrieve block details like block's hash value, size, nonce, transaction ids, transaction count, miner address, previous block hash, next block hash, merkleroot, blocktime and difficulty of the block for which you have made the query.
**1. Block info to retrieve block information**

You have to pass these block height as the argument to the blockinfo function call:
You have to pass block height as the argument to the blockinfo function call:

* Block height: height of the block of which you want to collect info

Expand All @@ -97,7 +97,7 @@ It will return transaction ids, transaction count, nonce, size, hash value, prev

**2. Retrieve a range of blocks on RecordsKeeper chain**

You have to pass these block height as the argument to the retrieveBlocks function call:
You have to pass range of blocks i.e. blockrange can be 10-15. It can be passed as the argument to the retrieveBlocks function call:

* Block range: range of the block of which you want to collect info

Expand Down

0 comments on commit 0017f5f

Please sign in to comment.