Commit Graph

10063 Commits

Author SHA1 Message Date
William Banfield
d8f63fbd82 remove unused app signed update 2022-03-15 13:05:06 -04:00
William Banfield
f2b3306cd2 lint++ 2022-03-15 12:53:08 -04:00
William Banfield
9401775b7a Update types/tx_test.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-15 12:35:42 -04:00
William Banfield
2a31ff7342 Update types/tx.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-15 12:35:30 -04:00
William Banfield
5f23a43930 chose readability over performance on Validation method 2022-03-15 12:33:20 -04:00
William Banfield
4763b0ee99 resurrect tx.Proof method 2022-03-15 11:12:15 -04:00
William Banfield
f7c35e70b9 remove erroneous comment over ToSliceOfBytes 2022-03-15 10:38:26 -04:00
William Banfield
cff2d43d1e move TxsToTxRecords as helper function for state tests 2022-03-15 10:21:56 -04:00
William Banfield
ae184ba529 remove ToTxs unsued function 2022-03-15 10:19:26 -04:00
William Banfield
3de294a513 clang format intermediate file 2022-03-15 10:03:38 -04:00
William Banfield
e87cef8dd3 Merge branch 'master' into wb/abci-prepare-proposal-synchronize 2022-03-15 09:54:05 -04:00
William Banfield
9781ec60ae update validation comment 2022-03-15 09:34:59 -04:00
Sam Kleinman
b08dd93d88 libs/log: remove Must constructor (#8120)
* libs/log: remove Must constructor

* Update test/e2e/node/main.go

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>

* use stdlog

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2022-03-15 13:02:31 +00:00
William Banfield
6da708049f Merge branch 'master' into wb/abci-prepare-proposal-synchronize 2022-03-15 01:05:52 -04:00
William Banfield
11edd067e7 add test for preserving order 2022-03-15 00:32:42 -04:00
William Banfield
e080b9c740 helper fixups 2022-03-15 00:04:15 -04:00
William Banfield
3783fbb327 change mh variable 2022-03-15 00:00:46 -04:00
William Banfield
438adcd0dd split into smaller functions 2022-03-14 19:49:15 -04:00
William Banfield
fa9b029a26 defensive copy + layout change 2022-03-14 18:01:09 -04:00
William Banfield
1dce618a65 Apply suggestions from code review
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-14 17:56:04 -04:00
William Banfield
747eb86de8 remove Get prefix 2022-03-14 17:51:54 -04:00
William Banfield
5a5167974f remove comment incorrectly stating allocation by NewTxRecordSet 2022-03-14 17:48:54 -04:00
William Banfield
7c7307961b remove TxRecordsToTxs 2022-03-14 17:47:40 -04:00
William Banfield
235a636af2 comment Txs sort 2022-03-14 17:47:09 -04:00
William Banfield
b1ddcb947d Update proto/tendermint/abci/types.proto.intermediate
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-14 17:45:02 -04:00
William Banfield
a843d8bf28 createProposalBlock explicit returns 2022-03-14 17:41:29 -04:00
William Banfield
889488f92c log if part set errors 2022-03-14 17:35:59 -04:00
William Banfield
89c932352b comment types_test 2022-03-14 17:34:33 -04:00
William Banfield
51cf3fe7db rename to MarshalTxResults 2022-03-14 17:32:56 -04:00
William Banfield
c8844abd62 create separate removed list in kvstore 2022-03-14 17:29:51 -04:00
Sam Kleinman
a5320da5c8 node: cleanup evidence db (#8119) 2022-03-14 21:00:51 +00:00
William Banfield
4bf2027d3c comment the validation logic 2022-03-14 15:55:22 -04:00
William Banfield
bef6ab6e51 remove methods from abci tx records 2022-03-14 14:54:07 -04:00
William Banfield
9082915626 implement TxRecordSet for dealing with TxRecord validation 2022-03-14 14:52:19 -04:00
William Banfield
8e5dfa55ef rfc: RFC 015 ABCI++ Tx Mutation (#8033)
This pull requests adds an RFC to discuss the proposed mechanism for transaction replacement detailed in the ABCI++ specification.
2022-03-14 09:49:04 -04:00
Jordi Pinyana
70df7d9e6e readme: add vocdoni (#8117)
Add Vocdoni under applications section on the README.
2022-03-14 12:52:19 +00:00
frog power 4000
98dd0d6c5a minor typo in docs (#8116) 2022-03-13 21:09:49 -07:00
frog power 4000
aff1481682 Update abci++_basic_concepts_002_draft.md (#8114)
Minor Typo (nice doc!)
2022-03-12 18:57:43 -08:00
William Banfield
ce9b5982bc fix all cases of CreateProposalBlock votes 2022-03-11 17:39:15 -05:00
William Banfield
64b0b0a646 mempool_test does not make new list of Tx 2022-03-11 17:31:26 -05:00
William Banfield
4655d5d9f0 trim prefix from demo app 2022-03-11 17:29:44 -05:00
William Banfield
ca1824b415 update substPrepareTx 2022-03-11 17:24:02 -05:00
William Banfield
1500369946 remove transaction hash log 2022-03-11 17:00:50 -05:00
William Banfield
dac4e84990 test only deterministic fields used in hash 2022-03-11 16:59:45 -05:00
William Banfield
0ca101912f comment tx fix 2022-03-11 16:41:57 -05:00
William Banfield
d3c4f7c7d9 change app prepareproposal 2022-03-11 16:41:56 -05:00
William Banfield
5849b16dff fix joined lines 2022-03-11 16:41:55 -05:00
William Banfield
232b38100b use block.Txs 2022-03-11 16:41:54 -05:00
William Banfield
dd98161894 thread vote information through for future use by vote extensions 2022-03-11 16:41:49 -05:00
M. J. Fromberger
e9bc33d807 consensus: ensure the node terminates on consensus failure (#8111)
Updates #8077. The panic handler for consensus currently attempts to effect a
clean shutdown, but this can leave a failed node running in an unknown state
for an arbitrary amount of time after the failure.

Since a panic at this point means consensus is already irrecoverably broken, we
should not allow the node to continue executing. After making a best effort to
shut down the writeahead log, re-panic to ensure the node will terminate before
any further state transitions are processed.

Even with this change, it is possible some transitions may occur while the
cleanup is happening. It might be preferable to abort unconditionally without
any attempt at cleanup.

Related changes:

- Clean up the creation of WAL directories.
- Filter WAL close errors at rethrow.
2022-03-11 13:30:15 -08:00