Open altergui opened 3 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
vochain/indexer/indexer.go | 44 | 67 | 65.67% | ||
<!-- | Total: | 46 | 69 | 66.67% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
cmd/end2endtest/account.go | 1 | 66.43% | ||
api/accounts.go | 2 | 54.42% | ||
apiclient/account.go | 2 | 38.89% | ||
vochain/appsetup.go | 2 | 55.45% | ||
vochain/indexer/indexer.go | 5 | 67.55% | ||
<!-- | Total: | 12 | --> |
Totals | |
---|---|
Change from base Build 9495839404: | -0.03% |
Covered Lines: | 16080 |
Relevant Lines: | 26396 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
vochain/indexer/indexer.go | 38 | 60 | 63.33% | ||
<!-- | Total: | 40 | 62 | 64.52% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
cmd/end2endtest/account.go | 1 | 66.43% | ||
api/accounts.go | 2 | 54.42% | ||
apiclient/account.go | 2 | 38.89% | ||
vochain/appsetup.go | 2 | 55.45% | ||
vochain/indexer/indexer.go | 107 | 67.55% | ||
<!-- | Total: | 114 | --> |
Totals | |
---|---|
Change from base Build 9495839404: | -0.05% |
Covered Lines: | 16076 |
Relevant Lines: | 26396 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
vochain/indexer/indexer.go | 47 | 75 | 62.67% | ||
<!-- | Total: | 49 | 77 | 63.64% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
cmd/end2endtest/account.go | 1 | 66.43% | ||
vochain/indexer/indexer.go | 1 | 68.09% | ||
api/accounts.go | 2 | 54.42% | ||
apiclient/account.go | 2 | 38.89% | ||
vochain/appsetup.go | 2 | 55.45% | ||
<!-- | Total: | 8 | --> |
Totals | |
---|---|
Change from base Build 9495839404: | -0.03% |
Covered Lines: | 16098 |
Relevant Lines: | 26423 |
Could you explain why this is now deterministic? thanks
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
vochain/indexer/indexer.go | 51 | 79 | 64.56% | ||
<!-- | Total: | 60 | 88 | 68.18% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
vochain/indexer/indexer.go | 5 | 67.7% | ||
<!-- | Total: | 5 | --> |
Totals | |
---|---|
Change from base Build 9546446432: | 0.02% |
Covered Lines: | 15939 |
Relevant Lines: | 25993 |
it's deterministic because the SQL statements produced by each node are the same (bit-by-bit) . this was not the case with the raw db format.
this is much less performant that simply exporting/importing the raw binary database, but makes the backup deterministic, allowing StateSync to pull the snapshot from many nodes at the same time