Repository navigation
Commit e4f459d
committed
perf: open the masternode connection thread on demand
Masternodes, quorum watchers and wallet mixing with CoinJoin creates masternode connections.
Every node started the "mncon" thread though it should be spawn only when needed.
Plain nodes with wallets disabled no longer carry the thread and its 0.9 MB of thread-local storage.1 parent 756fc4f commit e4f459d
3 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2562 | 2562 | | |
2563 | 2563 | | |
2564 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
2565 | 2568 | | |
2566 | 2569 | | |
2567 | 2570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4093 | 4093 | | |
4094 | 4094 | | |
4095 | 4095 | | |
4096 | | - | |
4097 | | - | |
4098 | | - | |
4099 | | - | |
| 4096 | + | |
| 4097 | + | |
| 4098 | + | |
| 4099 | + | |
| 4100 | + | |
4100 | 4101 | | |
4101 | 4102 | | |
4102 | 4103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1248 | 1251 | | |
1249 | 1252 | | |
1250 | 1253 | | |
| |||
1283 | 1286 | | |
1284 | 1287 | | |
1285 | 1288 | | |
| 1289 | + | |
1286 | 1290 | | |
1287 | 1291 | | |
1288 | 1292 | | |
| |||
1928 | 1932 | | |
1929 | 1933 | | |
1930 | 1934 | | |
| 1935 | + | |
1931 | 1936 | | |
1932 | 1937 | | |
1933 | 1938 | | |
| |||
0 commit comments