Files
bitcoin/src
Carl Dong 586190f0b4 rpc/rest: Take and reuse local Chain/ChainState obj
In all rest/rpc-related modules, if there are multiple calls to
ActiveChain{,State}(), and the calls fall under the same ::cs_main lock,
we can simply take a local reference and use/reuse it instead of calling
ActiveChain{,State}() again and again.
2021-04-14 11:17:31 -04:00
..
2020-12-08 19:26:30 +01:00
2020-11-19 15:48:24 +01:00
2021-03-11 13:45:14 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2020-12-31 09:45:41 +01:00
2021-01-04 12:31:31 +08:00
2021-01-04 12:23:16 +08:00
2020-12-31 09:45:41 +01:00
2021-01-04 12:23:16 +08:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2021-04-01 11:35:27 +01:00
2021-04-01 11:35:27 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-04-30 09:19:14 -04:00
2021-01-13 02:05:00 +01:00
2021-03-11 13:45:14 +08:00
2020-07-01 14:44:24 -04:00
2021-03-18 18:43:52 +01:00
2020-10-12 12:14:53 -07:00
2020-04-16 13:33:09 -04:00