Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algod: State Proofs #4226

Merged
merged 113 commits into from
Aug 9, 2022
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
a117865
Algod: Compcert signature version (#3665)
algonathan Feb 23, 2022
598eed1
Network: Change the message compact certificate is attesting to (#3668)
Aharonee Feb 24, 2022
3ffa8cd
fix swagger
Feb 24, 2022
445c72e
fix lint issues
Feb 27, 2022
57c0d6b
Algod: compcert unit test error check fix (#3692)
algonathan Feb 27, 2022
92cfd80
Algod: compcert sig struct refactor (#3690)
algonathan Feb 27, 2022
09d6bd1
Algod: add support for SHA256 in merkle tree (#3691)
Aharonee Feb 28, 2022
4ec940d
Merge branch 'master' into feature/stateproofs
Mar 3, 2022
bbd6a20
Add forward secrecy to State Proofs (WIP: SP key deletion) (#3622)
algonathan Mar 3, 2022
f57622e
certmessage is not being returned from the API
Mar 7, 2022
f9a8d27
rename merkleindex to VectorCommitment index
Mar 9, 2022
abf37ea
Algod: Compcert msg into struct (#3742)
algonathan Mar 14, 2022
41277ab
Merge branch 'master' into feature/stateproofs
Mar 15, 2022
f3ca48b
Stateproof: fix firstvalid issue (#3721)
id-ms Mar 17, 2022
3dd4c6b
Algod: Add a new caching mechanism for the ledger - latest 512 block …
Aharonee Mar 20, 2022
c779367
Merge branch 'master' into feature/stateproofs
Mar 23, 2022
1c3f705
add mss-kats generator (#3733)
id-ms Mar 28, 2022
c34780a
Merge branch 'master' into feature/stateproofs
Apr 17, 2022
4009697
algod:Stateproof server api (#3888)
algonathan May 2, 2022
8a53a76
Make stateproof verifier snark friendly (#3895)
id-ms May 10, 2022
a3cac99
Merge branch 'master' into feature/stateproofs
May 10, 2022
eb9802d
Merge branch 'master' into feature/stateproofs
May 10, 2022
2433d02
Merge pull request #3966 from algoidan/merge-stateproof-with-master
id-ms May 10, 2022
35dfb28
Merge branch 'master' into merge-master-into-stateproof
May 11, 2022
635f417
Merge pull request #3975 from algoidan/merge-master-into-stateproof
id-ms May 11, 2022
103a025
add gc invocation for TestAcctUpdates to prevent trashing
May 11, 2022
1df452a
Rename compact cert (#3984)
id-ms May 15, 2022
bc6dd87
add version to coin-generator (#4007)
id-ms May 18, 2022
906f615
Stateproof message (#4006)
id-ms May 20, 2022
d2005ff
Merge branch 'master' into feature/stateproofs
May 22, 2022
1c7cb73
Merge pull request #4026 from algoidan/merge-stateproof-to-master
id-ms May 22, 2022
74fdb59
update with rename (#4024)
algonautshant May 26, 2022
7271e64
rename stateproof endpoint (#4027)
id-ms May 26, 2022
90bd63a
StateProofs: Relax MSS keys ephemerality (#3991)
Aharonee May 26, 2022
2673e6b
fix an underflow bug when deleting state proof keys and make log a bi…
Aharonee May 26, 2022
f6b5ae2
Stateproofs: get proof on block headers endpoint (#4055)
algonathan Jun 2, 2022
881659f
Merge branch 'master' into feature/stateproofs
Jun 6, 2022
f42bd4a
rename light header endpoint
Jun 6, 2022
fff5ecc
Merge pull request #4077 from algoidan/merge-stateproof-from-master
id-ms Jun 6, 2022
ce59ca1
Merge branch 'master' into merge-stateproof-from-master
Jun 7, 2022
4707829
fix cleanup stateproofkeys table after participation expires
Jun 8, 2022
d3caf0d
Merge pull request #4094 from algoidan/merge-stateproof-from-master
id-ms Jun 8, 2022
bda5295
renamed SigFromAddr's fields, and the codec names (#4106)
algonathan Jun 9, 2022
31186a1
Shant/log next state proof in assemble block (#4073)
algonautshant Jun 12, 2022
04e3c5d
refactor stateproof e2e
Jun 15, 2022
64c7e06
Add test TestSigBroacastTwoPerSig (#4126)
algonautshant Jun 19, 2022
145c065
testing: Is stateproof tx well formed (#4144)
algonathan Jun 19, 2022
543e2c7
fix parallel testing
Jun 19, 2022
ba187c2
Node recovery from stalled Stateproof chain (#4056)
id-ms Jun 22, 2022
6af0d7b
Test overlapping stateproof keys (#4161)
Aharonee Jun 23, 2022
b2347c5
Test: signature not fromThisNode broadcast in the second half (#4160)
algonautshant Jun 27, 2022
ad64197
Signature handling more checks and tests (#4176)
algonautshant Jun 28, 2022
39c3aaf
Block proof e2e (#4203)
almog-t Jul 3, 2022
db7f8af
Algod: Attestors change test (#4213)
algonathan Jul 4, 2022
8c80381
use getDefaultStateProofConsensusParams on state proof e2e tests
Jul 4, 2022
920de20
Test suboptimal stateproof signed weight before and after interval/2 …
Aharonee Jul 5, 2022
bb16d97
Refactoring StateProof signer (#4181)
Aharonee Jul 5, 2022
88a537b
Algod: Empty stateproofid (#4214)
algonathan Jul 5, 2022
58a7eec
Merge branch 'master' into merge-statepoof-with-master
Jul 7, 2022
fae59da
fix some more tests
Jul 7, 2022
238d80f
fix recovery test
Jul 7, 2022
d51bf06
Merge pull request #4237 from algoidan/merge-statepoof-with-master
id-ms Jul 7, 2022
1892c9a
Refactoring and minor fixes (#4258)
Aharonee Jul 14, 2022
ef7cc86
Merge branch 'master' into merge-master-into-stateproof
Jul 14, 2022
fb82b58
Merge pull request #4263 from algoidan/merge-master-into-stateproof
id-ms Jul 14, 2022
3177174
Merge branch 'master' into feature/stateproofs
Jul 17, 2022
6275123
StateProof verifier rejects long proofs (#4270)
algonathan Jul 17, 2022
7617c82
add multiaccount state proof tests (#4180)
id-ms Jul 17, 2022
fccdbe9
fix faulty openAPI spec file
Aharonee Jul 17, 2022
d31d755
regenerate OpenAPI
Jul 18, 2022
e50c549
Refactoring for PR (#4271)
Aharonee Jul 19, 2022
e23e993
reduce number of top accounts for state proof
Jul 19, 2022
1395437
BugFix VotersTracker loadFromDisk (#4257)
id-ms Jul 21, 2022
4881c0e
renamed spProto
Jul 24, 2022
296ebb1
CR: fixed typo
Jul 24, 2022
d5aa1ce
CR: merkle signature scheme tests now run in parallel
Jul 24, 2022
519b9e5
CR: typo fix in weights.go
Jul 24, 2022
bb8b1ad
CR: avoiding make of two little buffers
Jul 24, 2022
db1af6c
CR: better description for round parameter in API
Jul 24, 2022
dfd01db
CR: changed named return value to constructed object
Jul 24, 2022
31de5e4
added mistakenly missing space
Jul 24, 2022
361ddfc
reverted avoiding two little makes
Jul 24, 2022
ed7ebfe
CR: fixed another description
Jul 24, 2022
b3ab059
Stateproof PR updates (#4274)
Aharonee Jul 24, 2022
31f3403
CR: refactored getStateProofStats
Jul 24, 2022
46b1338
small change to proven weight usage
Jul 24, 2022
b2fb32e
spacing fix
Jul 24, 2022
38d7e1a
Merge branch 'feature/stateproofs' into feature/stateproofs
almog-t Jul 24, 2022
d7aca97
Merge branch 'master' into feature/stateproofs
Jul 24, 2022
56dc5d0
Merge pull request #4289 from algoidan/merge-stateproof-from-master
id-ms Jul 24, 2022
18dc026
Msgp sort lightheader (#4287)
algonathan Jul 26, 2022
170fbb9
fix flaky test
Jul 26, 2022
e5899da
Merge branch 'master' into feature/stateproofs
Jul 26, 2022
af99ae5
Merge pull request #4302 from algoidan/merge-master-into-stateproof
id-ms Jul 26, 2022
2bdba8f
CR fix (#4307)
id-ms Jul 27, 2022
88c5ecc
Rename StateProof operationId to GetStateProof. (#4308)
winder Jul 28, 2022
5e83cff
Merge branch 'master' into merge-master-into-stateproof
Jul 31, 2022
5224f02
Merge pull request #4327 from algoidan/merge-master-into-stateproof
id-ms Jul 31, 2022
81c4bef
CR fix (#4328)
id-ms Aug 1, 2022
b995c5d
Fix TestWorkerHandleSigCorrupt (#4336)
algonautshant Aug 2, 2022
883bbbd
Removed StateProofIntervalLastRound and usages (#4337)
almog-t Aug 2, 2022
2db080f
StateProofs: fix fast catchup bug (#4346)
id-ms Aug 3, 2022
0c2bb50
Stateproofs: Reduce num reveals (#4355)
id-ms Aug 5, 2022
c00c131
Stateproofs: use total online weight instead of top online (#4357)
Aharonee Aug 5, 2022
d28f42b
Fix verifyStateProofForRound
algorandskiy Aug 5, 2022
5106ea8
Merge remote-tracking branch 'upstream/master' into feature/stateproofs
algorandskiy Aug 5, 2022
eaeeade
stateproof: ignore TxPoolSize for SP transactions (#4325)
algonautshant Aug 6, 2022
6ae26a3
fix test merge issue (#4365)
algonautshant Aug 6, 2022
d96506d
TestSPWithCounterReset make it more tolerant (#4366)
algonautshant Aug 7, 2022
9701dee
stateproofs: reorganize the full pool tests (#4370)
algonautshant Aug 8, 2022
0f1f1c2
Better error message for when an invalid txid is specified. (#4313)
winder Aug 8, 2022
2fc3935
remove old compactcert file
Aharonee Aug 8, 2022
433b881
Stateproofs: fixes to lowestRound and CR comments (#4369)
id-ms Aug 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ GOLDFLAGS := $(GOLDFLAGS_BASE) \
UNIT_TEST_SOURCES := $(sort $(shell GOPATH=$(GOPATH) && GO111MODULE=off && go list ./... | grep -v /go-algorand/test/ ))
ALGOD_API_PACKAGES := $(sort $(shell GOPATH=$(GOPATH) && GO111MODULE=off && cd daemon/algod/api; go list ./... ))

MSGP_GENERATE := ./protocol ./protocol/test ./crypto ./crypto/merklearray ./crypto/merklesignature ./crypto/compactcert ./data/basics ./data/transactions ./data/committee ./data/bookkeeping ./data/hashable ./agreement ./rpcs ./node ./ledger ./ledger/ledgercore ./compactcert ./data/account ./daemon/algod/api/spec/v2
MSGP_GENERATE := ./protocol ./protocol/test ./crypto ./crypto/merklearray ./crypto/merklesignature ./crypto/stateproof ./data/basics ./data/transactions ./data/stateproofmsg ./data/committee ./data/bookkeeping ./data/hashable ./agreement ./rpcs ./node ./ledger ./ledger/ledgercore ./stateproof ./data/account ./daemon/algod/api/spec/v2

default: build

Expand Down
538 changes: 269 additions & 269 deletions agreement/msgp_gen.go

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions cmd/algokey/part.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ func printPartkey(partkey account.Participation) {
fmt.Printf("Parent address: %s\n", partkey.Parent.String())
fmt.Printf("VRF public key: %s\n", base64.StdEncoding.EncodeToString(partkey.VRF.PK[:]))
fmt.Printf("Voting public key: %s\n", base64.StdEncoding.EncodeToString(partkey.Voting.OneTimeSignatureVerifier[:]))
if partkey.StateProofSecrets != nil && !partkey.StateProofSecrets.GetVerifier().IsEmpty() {
fmt.Printf("State proof key: %s\n", base64.StdEncoding.EncodeToString(partkey.StateProofSecrets.GetVerifier()[:]))
if partkey.StateProofSecrets != nil && !partkey.StateProofSecrets.GetVerifier().MsgIsZero() {
fmt.Printf("State proof key: %s\n", base64.StdEncoding.EncodeToString(partkey.StateProofSecrets.GetVerifier().Commitment[:]))
fmt.Printf("State proof key lifetime: %d\n", partkey.StateProofSecrets.GetVerifier().KeyLifetime)
}
fmt.Printf("First round: %d\n", partkey.FirstValid)
fmt.Printf("Last round: %d\n", partkey.LastValid)
Expand Down
Loading