Skip to content

Commit

Permalink
formatting in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Naviabheeman committed Mar 21, 2022
1 parent 4b4a9d2 commit 0f99167
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/functional/txgenerator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Tx Generator is python process based on functional test framework that can be us
Options
--------

*--maxBlockCount* : stop the block and generation when the number of blocks reaches this count.
*--maxUtxoCount* : stop the transaction generation when the number of utxos in the wallet reaches this count
*--daemon* : option to set the daemon mode i.e. to start a node in any network and populate its blocks with transactions. the node's wallet spends all its utxos
*--daemon_datadir* : data directory for daemon mode. default is -"~/.tapyrus/tapyrus-testnet"-
*--daemon_genesis* : genesis block hex for daemon mode. default is the testnet genesis block
--maxBlockCount : stop the block and generation when the number of blocks reaches this count.
--maxUtxoCount : stop the transaction generation when the number of utxos in the wallet reaches this count
--daemon : option to set the daemon mode i.e. to start a node in any network and populate its blocks with transactions. the node's wallet spends all its utxos
--daemon_datadir : data directory for daemon mode. default is "~/.tapyrus/tapyrus-testnet"
--daemon_genesis : genesis block hex for daemon mode. default is the testnet genesis block

To run
-------
Expand All @@ -29,7 +29,7 @@ To run
--maxBlockCount
--maxUtxoCount

_output:_ rpc_trace.log, node0.zip, wallet_<tmp>
_output:_ rpc_trace.log, node0.zip, wallet_<<tmp>>

3. Populate a node
   $ python /test/functional/txgenerator/txgenerator.py
Expand All @@ -44,16 +44,16 @@ RPC Trace

RPC trace is generated in the tmpdir after from the test framework log. It contains the RPC call id, rpc name and elapsed time as follows:

|64| createrawtransaction |0.001198|
|65| signrawtransactionwithwallet |0.001889|
|66| sendrawtransaction |0.001697|
|67| listunspent |1.712024|
|68| getnewaddress |0.261340|
|69| createrawtransaction |0.001576|
|64| createrawtransaction |0.001198|
|65| signrawtransactionwithwallet |0.001889|
|66| sendrawtransaction |0.001697|
|67| listunspent |1.712024|
|68| getnewaddress |0.261340|
|69| createrawtransaction |0.001576|


TODO
----

1. Expand transaction template - add colored coins, signature type, invalid tx
2. Test with testnet node
2. Test with a real testnet node

0 comments on commit 0f99167

Please sign in to comment.