Commit graph

7 commits

Author SHA1 Message Date
DataHoarder b6ca970f30
Change project name 2022-10-05 09:40:23 +02:00
Ciro S. Costa e84b32b615 cmd/get-block: display subsidy
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-31 10:06:04 -04:00
Ciro S. Costa ad498be8f1 cmd: minor unit and flag improvements
- `get-transaction` on miner tx's now reveal the outputs in `m`
- `get-block` now includes a `--last` to allow one to easily say "get me
the last block", or "get me the last-1 block" ...
- `get-last-block-header` now shows rewards in precise `m`

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-31 06:42:08 -04:00
Ciro S. Costa 2eb47cf90f cmd: add --last to block-headers-range
example:

	$ monero daemon get-block-headers-range --last=10 | grep Transactions
	Number of Transactions:         6
	Number of Transactions:         79
	Number of Transactions:         93
	Number of Transactions:         15
	Number of Transactions:         74
	Number of Transactions:         73
	Number of Transactions:         11
	Number of Transactions:         2
	Number of Transactions:         20
	Number of Transactions:         124
	Number of Transactions:         158

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-23 12:44:42 -04:00
Ciro S. Costa 249ec31a71 pretty print + readme update
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-17 09:21:40 -04:00
Ciro S. Costa 2bb2257534 cmd: retrieve block header by height
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-17 07:41:50 -04:00
Ciro S. Costa e6bc54f872 use cobra for cmds; refactor rpc to support wallet
- using `cobra` for sake of better organization when it comes to command
hierarchy

- splitting `rpc` into `daemon` and `wallet` so we can start thinking of
monero-wallet-rpc support

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-10 20:29:16 -04:00