Граф коммитов

276 Коммитов

Автор SHA1 Сообщение Дата
olgavrou 6efad0b64c
starting to separate pbft consensus from raft consensus (#157) 2019-06-13 16:55:03 +01:00
Eddy Ashton b8d9e29dd3
Unbuffer perf tests (#156)
* Unbuffer perf tests

* Move BUILD_END_TO_END_TESTS to common

* Set PYTHONPATH for e2e_tests
2019-06-13 14:45:14 +01:00
Eddy Ashton f0dc80528b
Schemas for member and management frontend (#153)
* Fetch schema from each frontend, report schema-less methods

* Non-forwardability should not be coerced to a schema

* clang-format

* Add placeholder schema types for management frontend

* Add support for enums in auto-schema-generation

* Add schema for GetSignedIndex

* Use GetSignedIndex types

* Report schema for pairs

* Standardise types/schema for GetQuotes

* Fix typo

* Simplify GetQuotes response

* Schema for setRecoveryNodes

* Add generated schema for management frontend

* Don't repeat unschema'd methods

* Refactor schema generation to better support arbitrary types

* Add some schema to memberfrontend

* Fix install overloads again

* Empty schemas should still be objects, not nulls

* Schemas for remaining member frontend methods

* Dump of current schemas

* Fix json_schema test

* Update docs with new schemas

* Add section links
2019-06-13 13:26:46 +01:00
Julien Maffre 6be013c0e5
Increase tx count for performance test with signature (#155) 2019-06-13 10:33:34 +01:00
Julien Maffre de6ae7bda4
Disable quote for non-sgx machines with real enclaves (#154) 2019-06-13 09:59:16 +01:00
Julien Maffre 2734f83fb9 Expect -> Ignore (#152) 2019-06-12 18:16:22 +01:00
Julien Maffre 85f20eeb91 Support forwarding performance tests (#150)
* Remove unused coverage CI step

* Add new e2e forwarding performance test

* Remove verification file

* Re-enable storage of tx-times and metrics data + copy all clients csv
files back

* Disable signatures for forwarding test for now

* Actually push performance data

* Only push client* csv files

* Re-enable compress time and metrics

* Indentation of CI yml file

* Some more fixups

* Added fast-start for clients and fixups

* Cleanup

* Change comment

* Remove fast-start option as join protocol is now synchronous
2019-06-12 17:59:18 +01:00
Amaury Chamayou 4cd861805f
Doc fixes (#151) 2019-06-12 17:33:11 +01:00
Amaury Chamayou 4dd6348061
Upgrade msgpack-c to 3.2.0 (#149) 2019-06-12 13:57:47 +01:00
Amaury Chamayou 8e25001640
Clean up cmake flags (#148) 2019-06-12 13:39:22 +01:00
olgavrou 0117b0d940
re-disabling of tests that require config changes (#147) 2019-06-12 13:14:19 +01:00
Amaury Chamayou ee47a605e7
Add end to end build switch (#141) 2019-06-11 15:39:57 +01:00
Eddy Ashton 5c437cd291
Fix forwarding status for non-forwardable RPCs (#138)
* Fetch schema from each frontend, report schema-less methods

* Non-forwardability should not be coerced to a schema

* clang-format
2019-06-11 11:14:23 +01:00
Eddy Ashton ee9d7f994e Documented schemas (#135) 2019-06-11 08:56:48 +01:00
Amaury Chamayou 0f9de4bd9b
Workaround resolve race (#136) 2019-06-10 17:30:05 +01:00
Eddy Ashton 20821e35c7
Avoid unnecessary copies of lambda capture - universal forwarding (#137)
* Add benchmark of foreach map iteration

* Larger capture

* Capture foreach functors by universal reference

* Forward all the way from kv
2019-06-10 17:12:04 +01:00
Amaury Chamayou 9471bc825f
Disable tests that involve configuration changes (#132) 2019-06-07 19:44:40 +01:00
Julien Maffre 3603395e32
Fix performance test (#131) 2019-06-07 16:35:22 +01:00
Amaury Chamayou 2e2c9b94a3
Small temporary workaround on generated code to get ePBFT building (#130) 2019-06-07 10:48:57 +01:00
Amaury Chamayou 39483a3358 Revert "Update CCF to work with ePBFT (#127)"
This reverts commit d6b4ce6681.
2019-06-06 17:00:04 +01:00
Alex d6b4ce6681 Update CCF to work with ePBFT (#127) 2019-06-06 16:34:26 +01:00
Julien Maffre da51ea350e
Failing performance test fix (#126) 2019-06-06 16:02:39 +01:00
Julien Maffre 79c3859ffb Add docs badge (#128) 2019-06-06 15:17:08 +01:00
Amaury Chamayou 306be5eb4f
San and coverage in public ci (#125) 2019-06-06 14:51:17 +01:00
Amaury Chamayou 3e0608b030
Add Public CI badge (#123) 2019-06-06 10:11:44 +01:00
Amaury Chamayou ccaa2e1186
Add circle CI config (#120) 2019-06-06 09:23:53 +01:00
Julien Maffre 1df8fc71e5 Preserve node artefacts for each type of test (#114) 2019-06-05 22:43:40 +01:00
Amaury Chamayou a1073f703f
Add docker file for public CI (#119) 2019-06-05 17:31:32 +01:00
Eddy Ashton 75af3e845a
Install with schema (#118)
* Add install_with_schema options

* Simplify overloads by moving schema to end

* Match dox order with param order

* Fix frontend test
2019-06-05 16:50:49 +01:00
Amaury Chamayou 2f7d5cc180
pbft -> ePBFT (#117) 2019-06-05 13:30:41 +01:00
Eddy Ashton e567277a42
Json schema: Take 3 (#113)
* Add a getApi method, listing all installed RPC method names

* Sketch RecordParams struct

* WIP

* Broken WIP

* Partial macro

* Basic examples working

* Partial file separation

* Move, rename, and fix FOR macro

* Use json get

* Build to_json from RequiredJsonFields too

* Remove unneeded pair specialisation

* Add comments, collide required and optional

* REformat

* Use new macros everywhere

* Remove unused template

* Rename getApi to listMethods

* Move frontend-specific calltypes to /rpc

* Specify GetTxHist return type

* Pretty-print client responses by default

* Add a GetSchema RPC

* Other tools demand ugly formatting by default

* mins and maxes for numerics, map of schemas

* Support _FOR_JSON_0

* Fix support for std::optional optional fields

* Test std optionals

* Define schemas for GetCommit

* More definitions for existing RPCs

* Tidy schema generation, including for vectors

* Add proper unit test

* Initial test of schema generation

* Fix failing tests

* Formatting

* Add (currently failing) test of nested structs

* Add misleadingly passing test

* Set correct expected pointers, test currently fails

* Oops - deexpand

* Correctly build pointer path for erroneous array elements

* Demonstrate invalid, not just missing, valeus

* Skeleton of json_bench

* Fix typo

* WIP

* Compare manual json parsers vs macro-defined

* mumble mumble

* Add valijson, +basic test

* Add benchmark of valijson validation

* Benchmark simple and complex structs

* Additional broken schema test

* Include pointer to parse errors

* Restore old basic translator macro

* Restore simpler macro for translators that don't need schema

* Add auto schema for private logging methods

* Add manual schema + validation for PUBLIC logging RPCs

* Match RPC format

* More RPC format fixes

* Correct scenario test target

* Add documentation entry on API schema

* Initial schema retrieval test

* Correct URLs in generated schema

* Send schema to a flat folder

* Remove unnecessary size_t max restriction

* Report non-matching schema

* Add current schemas

* Tidying

* clang-format

* Remove schema generation e2e test

* fmtlib, remove $id from schema

* Fix pointer paths
2019-06-05 10:36:50 +01:00
Eddy Ashton 93a09d4edb
Add pretty-print option to client (#110)
* Add pretty-print option to client

* Also pretty-print start_network
2019-06-04 15:08:01 +01:00
Eddy Ashton f95ede6fe1
Static checks first (#112)
* Run static_checks first, make other tests depend on them

* Deliberate format break

* Fix format
2019-06-04 14:48:44 +01:00
Eddy Ashton 56e8402160
Use unbuffer for perf tests too (#111) 2019-06-04 14:07:42 +01:00
Eddy Ashton 817f586cc6
Add valijson (#109)
* Add valijson sources

* Add valijson to cgmanifest
2019-06-04 13:49:22 +01:00
Amaury Chamayou 1eda2341cc
Merge SAN build (#106)
* Do away with the separate SAN job

* Trigger adjustment

* Extend message read timeout

* Coverage isn't needed on SAN builds
2019-06-03 22:24:02 +01:00
Julien Maffre 9ebc56959a
Minor python changes (#107) 2019-06-03 15:16:32 +01:00
Amaury Chamayou 1f1a6001f1
Fix GitHub license detection (#105) 2019-06-03 09:38:03 +01:00
Amaury Chamayou f9fcd16c99 Update for gh-pages 2019-05-31 18:09:52 +01:00
Amaury Chamayou 22b6940db5 Not Jekyll! 2019-05-31 17:55:27 +01:00
Amaury Chamayou a511dc8e2d Force push 2019-05-31 17:48:38 +01:00
Amaury Chamayou 3cdd8ca463
Set up automated github pages refresh (#104) 2019-05-31 17:42:23 +01:00
Roy Schuster 7303faa433
Storing signed vote requests in a new table (votinghistory) (#81)
* Storing signed vote requests in a new table (votinghistory)

* Adding a script that can read the ledger

* Verifying signed votes

* Enforcing vote signature requirement

* Added documentation
2019-05-31 15:00:46 +01:00
Amaury Chamayou b84f28c601
Clean up CI (#102) 2019-05-31 12:58:03 +01:00
Julien Maffre a68be8453a Synchronous join protocol (#100) 2019-05-31 11:35:35 +01:00
Amaury Chamayou e2670448fb Revert "Split off performance build and use secp256k1 for client sigs benchmark"
This reverts commit bbd0c7faf1.
2019-05-30 14:05:44 +01:00
Amaury Chamayou 66e168d4da
Everest refresh (#94) 2019-05-29 17:36:10 +01:00
Amaury Chamayou bbd0c7faf1 Split off performance build and use secp256k1 for client sigs benchmark 2019-05-29 15:28:12 +01:00
Eddy Ashton df8a77dbb5 Restore perf data by copying CSVs from remote clients (#98)
* Rename files when copying from remote
* Optionally retrieve CSVs on remote_client shutdown, merge perf_summary
* Retrieve CSVs for one client
2019-05-29 14:43:08 +01:00
Julien Maffre 2d32b10e9e
Coverage badge is now green if coverage > 85% (#97) 2019-05-29 13:46:35 +01:00