Commit 6002345
authored
Integrate KES agent functionality into ouroboros-consensus (#1620)
This PR supercedes #1487
includes the following squashed commit messages:
- Update to use newest cardano-crypto-class with unsound pure KES
implementation
- Use mlocked KES
- Add KES agent connectivity
- Rebase cleanup
- Handle drop-key messages from KES Agent
- Provide KESAgentClientTrace to BlockForging
- Revert change to MockCrypto and require DSIGN only when running the
KES agent
- Bump kes-agent SRP to remove SerDoc dependency
# Description
Please include a meaningful description of the PR and link the relevant
issues
this PR might resolve.
Also note that:
- New code should be properly tested (even if it does not add new
features).
- The fix for a regression should include a test that reproduces said
regression.File tree
64 files changed
+1143
-356
lines changed- ouroboros-consensus-cardano
- changelog.d
- src
- byron/Ouroboros/Consensus/Byron
- ouroboros-consensus-cardano/Ouroboros/Consensus/Cardano
- shelley/Ouroboros/Consensus/Shelley
- Node
- unstable-byron-testlib
- Ouroboros/Consensus/ByronDual
- Test/ThreadNet/Infra/Byron
- unstable-cardano-testlib/Test
- Consensus/Cardano
- ThreadNet/Infra
- unstable-cardano-tools/Cardano
- Api
- Protocol
- Node/Protocol
- Tools/DBSynthesizer
- unstable-shelley-testlib/Test
- Consensus/Shelley
- ThreadNet/Infra
- test
- byron-test/Test/ThreadNet
- cardano-test/Test/ThreadNet
- shelley-test/Test/ThreadNet
- ouroboros-consensus-diffusion
- changelog.d
- src
- ouroboros-consensus-diffusion/Ouroboros/Consensus
- Node
- unstable-diffusion-testlib/Test/ThreadNet
- test
- consensus-test/Test/Consensus/HardFork
- Combinator
- mock-test/Test/ThreadNet
- ouroboros-consensus-protocol
- changelog.d
- src/ouroboros-consensus-protocol/Ouroboros/Consensus/Protocol
- Ledger
- Praos
- ouroboros-consensus
- changelog.d
- src
- ouroboros-consensus/Ouroboros/Consensus
- Block
- HardFork/Combinator
- Embed
- Util
- unstable-mock-block/Ouroboros/Consensus/Mock
- Ledger
- Node
- Protocol
- sop-extras
- changelog.d
- src/Data/SOP
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
64 files changed
+1143
-356
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| 329 | + | |
| 330 | + | |
328 | 331 | | |
329 | 332 | | |
330 | 333 | | |
| |||
364 | 367 | | |
365 | 368 | | |
366 | 369 | | |
| 370 | + | |
367 | 371 | | |
368 | 372 | | |
369 | 373 | | |
| |||
415 | 419 | | |
416 | 420 | | |
417 | 421 | | |
| 422 | + | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
Lines changed: 36 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| 63 | + | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
100 | | - | |
101 | 98 | | |
| 99 | + | |
102 | 100 | | |
103 | | - | |
| 101 | + | |
| 102 | + | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| |||
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
125 | | - | |
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
| |||
569 | 567 | | |
570 | 568 | | |
571 | 569 | | |
572 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
| 575 | + | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
| 588 | + | |
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| |||
980 | 980 | | |
981 | 981 | | |
982 | 982 | | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
991 | | - | |
| 991 | + | |
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
999 | | - | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
1000 | 1006 | | |
1001 | | - | |
| 1007 | + | |
1002 | 1008 | | |
1003 | 1009 | | |
1004 | | - | |
| 1010 | + | |
1005 | 1011 | | |
1006 | 1012 | | |
| 1013 | + | |
1007 | 1014 | | |
1008 | 1015 | | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
| 1016 | + | |
| 1017 | + | |
1023 | 1018 | | |
1024 | 1019 | | |
1025 | 1020 | | |
| |||
1028 | 1023 | | |
1029 | 1024 | | |
1030 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1031 | 1035 | | |
1032 | 1036 | | |
1033 | 1037 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 60 | + | |
68 | 61 | | |
69 | 62 | | |
70 | 63 | | |
| |||
Lines changed: 7 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| 56 | + | |
59 | 57 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
64 | 61 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 62 | + | |
74 | 63 | | |
75 | 64 | | |
76 | 65 | | |
| |||
95 | 84 | | |
96 | 85 | | |
97 | 86 | | |
98 | | - | |
| 87 | + | |
99 | 88 | | |
100 | 89 | | |
101 | 90 | | |
| |||
111 | 100 | | |
112 | 101 | | |
113 | 102 | | |
| 103 | + | |
114 | 104 | | |
0 commit comments