Skip to content

Commit b013ec7

Browse files
authored
Merge pull request #654 from evoskuil/master
Rename tx_block to tx_header.
2 parents f0f30fe + 808cb51 commit b013ec7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/bitcoin/network/rpc/interfaces/explore.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct explore_methods
4242
method<"block_tx", uint8_t, uint8_t, uint32_t, nullable<system::hash_cptr>, nullable<uint32_t>, optional<true>>{ "version", "media", "position", "hash", "height", "witness" },
4343

4444
method<"tx", uint8_t, uint8_t, system::hash_cptr, optional<true>>{ "version", "media", "hash", "witness" },
45-
method<"tx_block", uint8_t, uint8_t, system::hash_cptr>{ "version", "media", "hash" },
45+
method<"tx_header", uint8_t, uint8_t, system::hash_cptr>{ "version", "media", "hash" },
4646
method<"tx_fee", uint8_t, uint8_t, system::hash_cptr>{ "version", "media", "hash" },
4747

4848
method<"inputs", uint8_t, uint8_t, system::hash_cptr, optional<true>>{ "version", "media", "hash", "witness" },
@@ -82,7 +82,7 @@ struct explore_methods
8282
using block_tx = at<8>;
8383

8484
using tx = at<9>;
85-
using tx_block = at<10>;
85+
using tx_header = at<10>;
8686
using tx_fee = at<11>;
8787

8888
using inputs = at<12>;
@@ -134,7 +134,7 @@ struct explore_methods
134134
/// -----------------------------------------------------------------------
135135

136136
/// /v1/tx/[txhash] {1}
137-
/// /v1/tx/[txhash]/block {1 - if confirmed}
137+
/// /v1/tx/[txhash]/header {1 - if confirmed}
138138
/// /v1/tx/[txhash]/fee {1}
139139

140140
/// -----------------------------------------------------------------------

0 commit comments

Comments
 (0)