corda/testing
Katarzyna Streich f729453fee CORDA-2334 - Net Params non-downgrade verification in transaction resolution / building. (#4351)
* Add FetchParametersFlow

* No downgrade parameters in ResolveTransactionsFlow

Make sure that parameters in the transaction
graph are ordered (this is to prevent the downgrade attack, when the
malicious notary and participants sign transaction that shouldn't be
notarised otherwise). We ensure that by checking that epochs of network
parameters in the transaction chain are ordered.

* Addressed some minor items from RP review feedback.

* Refactoring following rebase from master.

* Address RP PR review comments (round 2)

* Addressed a couple of minor PR review points.

* Renaming of unit tests and cleanup.

* Changes discusses with RP to ensure Network Param checking is applied at txn verify time + resolve order checking gated on existence of tagged NPs in txn and associated minimum platform version.

* Do not fail on missing ServiceHub impl + return nothing if txn not NP tagged.

* Unify HistoricNetworkParametersStorage and
NetworkParametersStorageInternal

* SignedDataWithCert implements NamedByHash

* Cleanup

* Move parameters ordering check to signed transaction resolution

* Fixes after merge, address comments

* Address Andrius comments
2019-02-08 15:29:32 +00:00
..
node-driver CORDA-2334 - Net Params non-downgrade verification in transaction resolution / building. (#4351) 2019-02-08 15:29:32 +00:00
smoke-test-utils Fix smoke tests after merge of notary whitelist verification (#4356) 2018-12-05 11:17:37 +00:00
test-cli CORDA-1838: Add subcommands to node (#4091) 2018-10-24 13:58:19 +01:00
test-common CORDA-2405 Update versions of whitelisted attachments (#4549) 2019-01-13 11:38:19 +00:00
test-utils CORDA-2467: Moved non-contract things out of finance-contracts and into finance-workflows (#4700) 2019-02-01 17:31:12 +00:00