Commit ae73953
committed
move channel_id_factory to Downstream
move extended channel from the downstream_data to downstream
move standard channel from the downstream_data to downstream
move group_channel from the downstream_data to downstream
move negotiated_extensions from the downstream_data to downstream
remove Downstream_data from the downstream_data to downstream
move downstream_id_factory to channel manager
move downstream to channel manager
make vardiffKey clonable
move vardiff to channelManager struct
move coinbase_output to channelManager struct
move last_future_template to ChannelManager
move last_new_prev_hash to ChannelManager
move extranonce_prefix_factory_extended to ChannelManager
move extranonce_prefix_factory_standard to ChannelManager
remove channel manager data from Channel Manager
remove possibility of sub shared deadlock on dashmap buckets
make the lock ordering in vardiff very similar to pattern used throughout the app
add wrapper around tricky lock constructs1 parent d685c94 commit ae73953
13 files changed
Lines changed: 1466 additions & 1228 deletions
File tree
- integration-tests
- pool-apps
- pool
- src/lib
- channel_manager
- downstream
- stratum-apps/src/utils
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Lines changed: 913 additions & 833 deletions
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Lines changed: 200 additions & 146 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | | - | |
118 | | - | |
119 | | - | |
| 115 | + | |
120 | 116 | | |
121 | 117 | | |
122 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
| |||
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| 34 | + | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 42 | | |
67 | 43 | | |
68 | 44 | | |
| |||
86 | 62 | | |
87 | 63 | | |
88 | 64 | | |
89 | | - | |
90 | 65 | | |
91 | 66 | | |
92 | 67 | | |
| |||
95 | 70 | | |
96 | 71 | | |
97 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
98 | 86 | | |
99 | 87 | | |
100 | 88 | | |
| |||
141 | 129 | | |
142 | 130 | | |
143 | 131 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 132 | | |
154 | 133 | | |
155 | | - | |
156 | 134 | | |
157 | 135 | | |
158 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
159 | 142 | | |
160 | 143 | | |
| 144 | + | |
161 | 145 | | |
162 | 146 | | |
163 | 147 | | |
| |||
310 | 294 | | |
311 | 295 | | |
312 | 296 | | |
313 | | - | |
314 | | - | |
315 | | - | |
| 297 | + | |
316 | 298 | | |
317 | 299 | | |
318 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments