mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
listchannels: add funding_outnum to listchannels
Changelog-Added: JSONRPC: `listchannels` now includes the `funding_outnum`
This commit is contained in:
@@ -55,6 +55,7 @@ On success, an object containing **peers** is returned. It is an array of objec
|
||||
- **short_channel_id** (short_channel_id, optional): The short_channel_id (once locked in)
|
||||
- **channel_id** (hex, optional): The full channel_id (always 64 characters)
|
||||
- **funding_txid** (txid, optional): ID of the funding transaction
|
||||
- **funding_outnum** (u32, optional): The 0-based output number of the funding transaction which opens the channel
|
||||
- **initial_feerate** (string, optional): For inflight opens, the first feerate used to initiate the channel open
|
||||
- **last_feerate** (string, optional): For inflight opens, the most recent feerate used on the channel open
|
||||
- **next_feerate** (string, optional): For inflight opens, the next feerate we'll use for the channel open
|
||||
@@ -376,4 +377,4 @@ Main web site: <https://github.com/ElementsProject/lightning> Lightning
|
||||
RFC site (BOLT \#9):
|
||||
<https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md>
|
||||
|
||||
[comment]: # ( SHA256STAMP:956a13291bebc808bf1505a5d2030280aca441c5ca9991a6baae70c8715429a4)
|
||||
[comment]: # ( SHA256STAMP:444080f602bbce7d86bc7c38a4a2b1186a31c63d6b747d92c5aa4711dd9118c1)
|
||||
|
||||
@@ -235,6 +235,10 @@
|
||||
"type": "txid",
|
||||
"description": "ID of the funding transaction"
|
||||
},
|
||||
"funding_outnum": {
|
||||
"type": "u32",
|
||||
"description": "The 0-based output number of the funding transaction which opens the channel"
|
||||
},
|
||||
"initial_feerate": {
|
||||
"type": "string",
|
||||
"description": "For inflight opens, the first feerate used to initiate the channel open"
|
||||
@@ -741,6 +745,7 @@
|
||||
"short_channel_id": {},
|
||||
"channel_id": {},
|
||||
"funding_txid": {},
|
||||
"funding_outnum": {},
|
||||
"close_to": {},
|
||||
"private": {},
|
||||
"opener": {},
|
||||
@@ -826,6 +831,7 @@
|
||||
"short_channel_id": {},
|
||||
"channel_id": {},
|
||||
"funding_txid": {},
|
||||
"funding_outnum": {},
|
||||
"inflight": {},
|
||||
"close_to": {},
|
||||
"private": {},
|
||||
@@ -913,6 +919,7 @@
|
||||
"short_channel_id": {},
|
||||
"channel_id": {},
|
||||
"funding_txid": {},
|
||||
"funding_outnum": {},
|
||||
"inflight": {},
|
||||
"close_to": {},
|
||||
"private": {},
|
||||
@@ -1000,6 +1007,7 @@
|
||||
"short_channel_id": {},
|
||||
"channel_id": {},
|
||||
"funding_txid": {},
|
||||
"funding_outnum": {},
|
||||
"close_to": {},
|
||||
"private": {},
|
||||
"opener": {},
|
||||
|
||||
Reference in New Issue
Block a user