MarcoFalke
66fd3b28e8
Merge bitcoin/bitcoin#21732 : MOVEONLY: Move common init code to init/common
...
615965cfd1ef1e0627d69970d99bdfedb9176833 Move common package version code to init/common (Russell Yanofsky)
5bed2ab42c4f1a820468f7005ce62e39001f6611 Move common logging start code to init/common (Russell Yanofsky)
1fb7fcfa52569a652d3ea55c210b725e60b7d86f Move common logging GetArgs code to init/common (Russell Yanofsky)
90469c16906ab451bb1250df5e51563870a7ef3b Move common logging AddArg code to init/common (Russell Yanofsky)
387c4cf5887bfdaf1606e1b287d901e4c449514f Move common sanity check code to init/common (Russell Yanofsky)
a67b54855b294802d52f09fa60d3f63550cbada7 Move common global init code to init/common (Russell Yanofsky)
Pull request description:
This PR is part of the [process separation project](https://github.com/bitcoin/bitcoin/projects/10 ).
---
This change is move-only and can be easily reviewed with `--color-moved=dimmed_zebra`. The moves are needed to avoid duplicating common init code between different binaries (`bitcoin-node`, `bitcoin-wallet`, etc) in #10102 . In #10102 , each binary has it's own init file (`src/init/bitcoin-node.cpp`, `src/init/bitcoin-wallet.cpp`) so this PR moves the common code to `src/init/common.cpp`.
ACKs for top commit:
MarcoFalke:
review ACK 615965cfd1ef1e0627d69970d99bdfedb9176833 🖱
practicalswift:
cr ACK 615965cfd1ef1e0627d69970d99bdfedb9176833: dimmed zebra looks correct
Tree-SHA512: 859e1d86aee17eb50a49d806cf62d30d12f6b15018e41c096da41d7e535a9d2d088481cb340fee59e6c68e512a74b61c7146f2683465f553dc4953bf32f2a7b4
2021-04-23 10:02:50 +02:00
..
2021-04-13 10:24:31 +08:00
2021-03-10 14:31:10 +08:00
2021-04-12 11:14:49 +10:00
2020-12-08 19:26:30 +01:00
2021-01-24 16:28:27 +01:00
2021-04-13 22:00:28 +08:00
2021-04-19 06:11:38 -04:00
2021-03-17 14:56:20 +08:00
2021-04-13 22:00:28 +08:00
2021-04-06 14:50:17 +08:00
2020-12-31 09:45:41 +01:00
2021-04-20 23:18:54 +03:00
2021-04-21 07:23:34 +02:00
2021-04-20 09:29:43 +02:00
2020-10-27 23:08:48 -07:00
2021-02-01 15:17:28 +01:00
2021-04-20 08:59:09 +02:00
2020-11-19 15:48:24 +01:00
2021-04-18 12:07:00 +02:00
2021-04-19 09:04:31 +02:00
2021-04-05 20:26:14 +02:00
2021-02-18 10:07:37 +00:00
2021-02-18 15:08:35 +01:00
2020-12-31 09:45:41 +01:00
2021-01-29 15:39:44 +08:00
2021-01-29 12:39:55 +00:00
2020-12-31 09:45:41 +01:00
2021-02-18 15:08:35 +01:00
2020-07-03 20:43:55 -07:00
2021-01-31 17:35:16 +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-11-18 12:00:57 -05:00
2021-04-20 10:35:53 +02:00
2020-11-18 12:00:57 -05:00
2021-03-23 10:51:43 -04:00
2021-01-12 18:34:25 +10:00
2021-01-18 18:33:24 +01:00
2020-11-18 12:00:57 -05:00
2021-01-21 19:31:28 +01:00
2020-11-18 12:00:57 -05:00
2021-04-07 04:53:26 -04:00
2020-12-31 09:45:41 +01:00
2020-05-28 09:55:39 +03:00
2020-12-31 09:45:41 +01:00
2020-05-26 17:27:15 -04:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-02-12 07:53:29 -06:00
2021-04-14 22:53:54 -04:00
2021-04-06 10:47:51 +02:00
2021-04-12 11:14:49 +10:00
2020-12-31 09:45:41 +01:00
2021-04-05 14:00:48 +02:00
2020-09-24 06:55:34 +03:00
2020-12-31 09:45:41 +01:00
2021-02-01 22:30:05 +02:00
2021-02-12 07:53:29 -06:00
2021-03-23 11:11:02 +01:00
2021-03-01 17:36:16 +01:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:31:31 +08:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:23:16 +08:00
2021-02-01 15:17:28 +01:00
2021-04-12 19:29:03 -04:00
2021-04-13 20:09:34 +08:00
2021-04-13 20:09:34 +08:00
2021-02-10 20:46:25 +00:00
2021-01-15 22:48:15 +01:00
2021-01-15 22:48:15 +01:00
2021-01-04 12:23:16 +08:00
2020-12-31 09:45:41 +01:00
2021-04-07 04:53:26 -04:00
2021-03-29 23:29:42 +02:00
2021-03-19 20:52:16 +01:00
2021-04-08 16:31:55 +02:00
2021-03-16 13:59:18 +01:00
2021-04-23 10:02:50 +02:00
2021-04-07 04:53:26 -04:00
2021-03-16 10:48:36 -07:00
2021-01-24 02:44:53 +01:00
2021-01-04 12:23:16 +08:00
2021-03-01 18:19:37 +01:00
2021-03-01 18:19:37 +01:00
2021-04-23 10:02:50 +02:00
2021-01-07 18:07:09 +02:00
2020-12-08 19:26:30 +01:00
2020-10-27 19:40:44 +01:00
2021-04-20 15:48:48 +03:00
2021-03-29 11:12:26 +08:00
2021-03-04 12:34:46 +08:00
2021-03-30 10:42:45 +02:00
2021-03-31 20:17:39 +02:00
2021-01-07 18:07:09 +02:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2021-04-05 11:13:51 -04:00
2021-04-05 11:13:51 -04:00
2020-12-31 09:45:41 +01:00
2020-10-12 12:14:53 -07:00
2021-04-21 07:23:34 +02:00
2021-04-17 20:13:34 +02:00
2021-04-17 20:13:34 +02:00
2021-04-17 20:13:34 +02:00
2021-04-01 08:06:01 +00:00
2021-03-01 13:22:11 +01:00
2021-03-30 17:41:13 +02:00
2021-04-06 14:50:17 +08: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
2021-01-03 18:37:59 +01:00
2021-01-03 18:37:59 +01:00
2021-01-31 17:35:01 +01:00
2020-12-31 09:45:41 +01:00
2021-02-01 15:17:28 +01:00
2021-03-17 14:56:20 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-31 17:35:16 +01:00
2021-03-29 11:08:29 +08:00
2021-04-17 17:37:37 +02:00
2021-01-13 02:05:00 +01:00
2021-01-29 15:39:44 +08:00
2020-10-09 10:32:19 +02:00
2021-04-04 18:08:36 +02:00
2021-04-04 18:08:36 +02:00
2021-04-13 10:24:31 +08:00
2021-03-15 10:41:30 +08:00
2020-11-25 15:18:33 +01:00
2021-02-01 15:17:28 +01:00
2021-01-26 15:57:28 +08:00
2021-04-05 08:42:15 +02:00
2020-12-31 09:45:41 +01:00
2020-10-12 19:50:16 -07:00
2020-12-01 18:36:39 +01:00
2021-03-02 12:21:32 +00:00
2021-03-02 12:21:32 +00:00
2021-03-11 13:45:14 +08:00
2020-07-01 14:44:24 -04:00
2021-03-22 11:22:06 +08:00
2021-03-18 18:43:52 +01:00
2021-02-27 01:08:09 +10:00
2021-04-07 19:26:25 +01:00
2021-04-07 19:26:25 +01:00
2020-10-12 12:14:53 -07:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-04-18 11:59:28 +02:00
2021-04-13 22:00:28 +08:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-12-31 09:45:41 +01:00
2021-04-12 11:14:49 +10:00
2021-04-12 11:14:49 +10: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-12-31 09:45:41 +01:00