Andrew Chow
92be831847
Merge bitcoin/bitcoin#25412 : rest: add /deploymentinfo endpoint
...
a8250e30f1 doc: add release note about `/rest/deploymentinfo` (brunoerg)
5c96020024 doc: add `/deploymentinfo` in REST-interface (brunoerg)
3e44bee08e test: add coverage for `/rest/deploymentinfo` (brunoerg)
91497031cb rest: add `/deploymentinfo` (brunoerg)
Pull request description:
#23508 added a new RPC named `getdeploymentinfo`, it moved the softfork section from `getblockchaininfo` into this new one. In the REST interface, we have an endpoint named`/rest/chaininfo.json` (which refers to `getblockchaininfo`), so, this PR adds a new REST endpoint named `/deploymentinfo` which refers to `getdeploymentinfo`.
You can use it by passing a block hash, e.g: '/rest/deploymentinfo/<BLOCKHASH>.json' or you can use it without passing a block hash to get the 'deploymentinfo' for the last block.
ACKs for top commit:
jonatack:
re-ACK a8250e30f1 rebase-only since my last review at c65f82bb
achow101:
ACK a8250e30f1
stickies-v:
re-ACK a8250e30f1
Tree-SHA512: 0735183b6828d51a72ed0e2be5a09b314ac4693f548982c6e9adaa0ef07a55aa428d3b2d1b1de70b83169811a663a8624b686166e5797f624dcc00178b9796e6
2022-10-13 13:30:55 -04:00
..
2022-09-15 13:03:40 +02:00
2022-10-04 21:21:05 +00:00
2022-07-20 16:26:19 +02:00
2022-09-23 10:48:47 +01:00
2022-08-13 13:55:38 +01:00
2022-09-23 10:48:47 +01:00
2022-10-10 14:23:00 +08:00
2022-08-20 11:55:17 +02:00
2022-08-29 08:10:35 -04:00
2022-09-23 10:48:47 +01:00
2022-10-05 13:07:11 +01:00
2022-09-29 16:43:30 +01:00
2022-02-16 14:59:20 +02:00
2022-06-29 16:35:02 +01:00
2022-10-13 10:19:27 -04:00
2022-10-13 11:57:07 -04:00
2022-08-31 15:10:26 +02:00
2022-09-21 16:53:11 +01:00
2022-10-13 13:30:55 -04:00
2022-10-13 09:40:27 -04:00
2022-06-11 14:55:18 +01:00
2022-09-23 10:48:47 +01:00
2022-10-13 10:48:16 -04:00
2022-09-15 10:24:53 -03:00
2022-10-12 15:49:02 -04:00
2022-10-13 11:27:38 -04:00
2022-10-10 15:44:02 +01:00
2022-04-26 10:43:33 +01:00
2021-11-12 11:46:34 +01:00
2022-08-31 08:38:24 +01:00
2022-07-30 10:23:58 +02:00
2022-04-20 14:29:29 +01:00
2022-07-30 11:04:09 +02:00
2022-07-30 11:04:09 +02:00
2022-07-30 11:04:09 +02:00
2022-04-14 07:15:22 +02:00
2022-04-14 19:26:22 +02:00
2022-07-30 10:23:58 +02:00
2022-05-20 15:17:00 +02:00
2022-04-27 14:16:35 +02:00
2022-05-21 13:54:33 -05:00
2022-10-04 21:49:07 +01:00
2021-12-06 14:17:41 +13:00
2022-09-09 11:47:27 -04:00
2021-08-17 16:54:47 +08:00
2022-09-22 16:45:32 +02:00
2021-08-17 16:54:47 +08:00
2022-09-21 16:53:11 +01:00
2021-08-17 16:54:47 +08:00
2022-07-20 10:34:46 +01:00
2021-08-17 16:54:47 +08:00
2022-09-12 13:11:18 +02:00
2021-08-17 16:54:47 +08:00
2022-09-15 13:03:40 +02:00
2022-05-17 10:37:10 +01:00
2022-05-17 10:37:10 +01:00
2022-08-24 10:15:32 +02:00
2022-08-31 16:51:32 +01:00
2022-08-31 15:10:26 +02:00
2022-08-23 16:05:00 -04:00
2022-08-31 15:31:34 +03:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-09-09 10:07:39 +02:00
2022-05-12 02:25:55 +10:00
2022-02-22 15:36:19 +00:00
2022-02-22 15:36:19 +00:00
2022-08-19 17:11:06 +02:00
2022-06-21 16:19:10 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-05-21 13:54:33 -05:00
2022-07-27 13:27:57 +02:00
2022-03-30 20:11:15 +01:00
2022-08-03 12:03:28 -04:00
2022-09-13 12:38:06 -04:00
2022-09-13 12:38:06 -04:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-05-10 12:09:33 +10:00
2022-05-10 12:09:33 +10:00
2022-02-16 15:02:26 +02:00
2022-10-04 21:21:05 +00:00
2021-06-16 10:48:58 +02:00
2022-04-21 12:01:00 -05:00
2022-09-14 11:55:10 +01:00
2022-08-19 08:58:56 +01:00
2022-08-30 13:52:45 +02:00
2022-07-20 15:34:36 +02:00
2022-08-30 12:09:04 -04:00
2022-08-29 08:10:35 -04:00
2022-05-18 19:15:03 +02:00
2021-12-30 19:36:57 +02:00
2022-09-30 16:29:22 +02:00
2022-04-06 13:19:36 +01:00
2022-09-12 12:55:36 +02:00
2022-08-11 17:51:18 +02:00
2022-10-05 19:30:15 +02:00
2022-06-02 11:42:12 -04:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-08-04 11:32:26 +02:00
2022-08-04 11:32:25 +02:00
2022-09-01 15:57:56 -04:00
2022-08-30 12:09:04 -04:00
2022-10-13 10:19:27 -04:00
2022-09-15 10:29:12 +01:00
2022-04-26 16:25:38 -04:00
2022-06-23 15:33:01 +02:00
2021-10-21 09:37:30 +08:00
2022-02-28 16:59:56 +01:00
2022-09-13 17:15:17 +01:00
2022-09-13 17:15:17 +01:00
2022-10-04 21:12:50 +01:00
2022-09-15 09:30:26 +01:00
2022-10-12 14:13:54 -04:00
2021-10-11 20:46:25 +08:00
2022-07-20 10:34:46 +01:00
2022-09-23 10:48:47 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-10-13 11:07:33 -04:00
2022-09-15 14:44:38 +10:00
2022-05-18 19:15:03 +02:00
2021-12-30 19:36:57 +02:00
2022-10-12 15:49:02 -04:00
2022-09-21 11:00:47 +01:00
2022-05-17 17:18:58 +01:00
2022-07-20 10:34:46 +01:00
2022-10-12 15:49:02 -04:00
2022-07-20 16:26:24 +02:00
2022-04-25 15:09:14 +02:00
2022-04-20 14:35:53 +01:00
2022-06-14 10:38:51 +02:00
2022-08-16 20:00:19 -04:00
2022-08-18 16:47:15 -03:00
2022-08-23 11:34:10 -04:00
2022-08-23 11:34:10 -04:00
2022-09-23 10:48:47 +01:00
2022-08-20 15:11:28 +02:00
2022-07-26 11:06:10 +02:00
2022-10-06 15:32:51 -04:00
2022-10-06 15:32:51 -04:00
2022-08-10 14:25:43 -04:00
2022-08-04 11:32:25 +02:00
2022-09-23 10:48:47 +01:00
2022-07-13 15:21:12 +02:00
2022-07-20 10:34:46 +01:00
2021-12-30 19:36:57 +02:00
2022-10-13 13:30:55 -04:00
2022-03-10 12:01:53 +01:00
2022-05-17 17:18:58 +01:00
2022-05-12 02:25:55 +10:00
2022-07-26 11:05:04 +02:00
2022-06-14 10:38:51 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-04-26 09:41:45 +01:00
2022-10-13 10:19:27 -04:00
2021-12-30 19:36:57 +02:00
2022-10-11 09:18:55 +08:00
2022-07-13 15:20:49 +02:00
2022-08-20 09:33:01 +02:00
2022-08-05 14:59:15 +02:00
2022-08-05 14:59:15 +02:00
2021-07-05 08:59:38 +03:00
2022-07-20 10:34:46 +01:00
2022-03-15 01:33:52 +00:00
2022-07-22 12:45:07 +02:00
2022-09-13 12:38:06 -04:00
2022-10-09 10:28:32 -04:00
2022-10-09 10:28:32 -04:00
2022-07-28 14:39:45 +08:00
2022-07-28 14:39:45 +08:00
2021-12-30 19:36:57 +02:00
2022-09-15 16:48:50 -04:00
2022-10-13 10:19:27 -04:00
2022-10-13 10:19:27 -04:00
2022-05-21 13:54:33 -05:00
2022-05-09 18:35:44 +02:00
2022-05-05 15:55:44 +02:00
2022-05-12 02:25:55 +10:00
2022-01-06 22:14:16 -05:00
2022-05-21 01:23:23 +10:00
2021-12-30 19:36:57 +02:00