Merge #160: commands: remove discrepancy between blockheight and block_height

dc61a1c3bd commands: remove discrepancy between blockheight and block_height (Antoine Poinsot)

Pull request description:

  This removes one inconsistencies. Quickly skimming through the doc i didn't find any other.

  Fixes #64.

ACKs for top commit:
  edouardparis:
    utACK dc61a1c3bd

Tree-SHA512: dccff594673ffe34048ab5ad931005c7927e0835501b8377e0b0c8fac9a8d3e5a5f8b3372bd89b3ec33b5f377aecd47164f54ee1a622c9cb375227f4c2009f1b
This commit is contained in:
Antoine Poinsot committed 2022-12-08 10:09:10 +01:00
commit 801efa3440
5 files changed
+22 -22

No files matched your search

+2 -2
View File
@@ -50,7 +50,7 @@ This command does not take any parameter for now.
| -------------------- | ------- | -------------------------------------------------------------------------------------------------- |
| `version` | string | Version following the [SimVer](http://www.simver.org/) format |
| `network` | string | Answer can be `mainnet`, `testnet`, `regtest` |
| `blockheight` | integer | The block height we are synced at. |
| `block_height` | integer | The block height we are synced at. |
| `sync` | float | The synchronization progress as percentage (`0 < sync < 1`) |
| `descriptors` | object | Object with the name of the descriptor as key and the descriptor string as value |
| `rescan_progress` | float or null | Progress of an ongoing rescan as a percentage (between 0 and 1) if there is any |
@@ -91,7 +91,7 @@ This command does not take any parameter for now.
| -------------- | ------------- | ------------------------------------------------------------------------------------------------------------------ |
| `amount` | int | Value of the TxO in satoshis. |
| `outpoint` | string | Transaction id and output index of this coin. |
| `block_height` | int or null | Blockheight the transaction was confirmed at, or `null`. |
| `block_height` | int or null | Block height the transaction was confirmed at, or `null`. |
| `spend_info` | object | Information about the transaction spending this coin. See [Spending transaction info](#spending_transaction_info). |