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

276 Коммитов

Автор SHA1 Сообщение Дата
Amaury Chamayou af2cf39ebb
Full e2e coverage (#95) 2019-05-29 10:42:17 +01:00
Amaury Chamayou 02e955fca8
End to end coverage (#93) 2019-05-28 16:33:57 +01:00
Amaury Chamayou 75ecdf1b0c
Set OE log level automatically according to CCF log level (#90) 2019-05-24 13:46:17 +01:00
Amaury Chamayou 59eaa1a786
fmtlib (#89) 2019-05-24 10:17:29 +01:00
Julien Maffre 3b08bb15b5
Support for forwarding for all frontends (#87) 2019-05-24 10:05:32 +01:00
Julien Maffre 41779cc60a
Fix codecov as it is not currently valid (#88) 2019-05-23 17:09:31 +01:00
Julien Maffre 09adc15a2d Revert "[DO NOT MERGE] Delete kv_test.cpp to test codecov"
This reverts commit 5ba22c8731.
2019-05-21 17:49:06 +01:00
Julien Maffre 5ba22c8731
[DO NOT MERGE] Delete kv_test.cpp to test codecov 2019-05-21 17:44:54 +01:00
Julien Maffre 6b3a1f4930
Adding support for Codecov (#84) 2019-05-21 17:43:29 +01:00
Julien Maffre 6d6f7d1d87
Add unit test for forwarder and remove NullReplicator (#82) 2019-05-21 13:35:56 +01:00
olgavrou 3d0eb8fc36
Metrics (#79) 2019-05-21 09:27:22 +01:00
Julien Maffre b10b931e7b
Full command forwarding (#75) 2019-05-20 11:45:53 +01:00
olgavrou e57ce9f67d
large outbound messages (#77) 2019-05-17 17:05:12 +01:00
Amaury Chamayou 04ad7075e9
Get quotes rpc (#73)
Add get_quotes RPC
2019-05-17 12:24:55 +01:00
olgavrou e3569d8559
Adding coverage to perf summary csv (#74) 2019-05-17 09:36:31 +01:00
olgavrou 35f73c5d60
Changing background color (#72) 2019-05-16 14:50:54 +01:00
olgavrou 741800816e
Coverage (#71) 2019-05-16 11:31:14 +01:00
Eddy Ashton 750026e7bd
TCP listens resolve synchronously (#70)
* Ignore debug

* DNS::resolve is optionally asynchronous

* TCP::listen resolves synchronously
2019-05-15 14:57:44 +01:00
olgavrou ef92e77ee5
Rates test tweak (#69) 2019-05-15 13:37:37 +01:00
Amaury Chamayou ac9b4b0469
A simple test wrapper for ctest (#68)
A simple test wrapper
2019-05-15 12:53:55 +01:00
Amaury Chamayou bf99fc0b91
"Virtual only" build (#67)
Add VIRTUAL_ONLY flag
2019-05-15 10:57:04 +01:00
Amaury Chamayou 59d0968a00
Merkle tree memory test (#44)
* Fix Merkle Tree benchmark
* Add memory growth test for merkle tree
2019-05-13 15:14:17 +01:00
Julien Maffre 3f298288f5
No quotes with virtual (#45)
* Disable quotes with virtual enclaves

* Dump quote to file before verifying it
2019-05-13 15:02:44 +02:00
Julien Maffre de25ab929b
Clear new rollback counter in store clear() (#43) 2019-05-13 12:03:58 +02:00
Amaury Chamayou fb7582a85b
Fix Merkle Tree benchmark (#42)
*Fix Merkle Tree benchmark
2019-05-13 09:35:04 +01:00
olgavrou 69c905cf12 Send append entries batched by tx count instead of byte count (#40)
* Send append entries batched by tx count instead of byte count
2019-05-10 15:58:00 +01:00
Eddy Ashton e8fe6a4f55
Ensure all available data is retrieved from mbedtls (#41)
* Adding useful logging

* Sketch in broken TLSFramedEndpoint unit test

* Abandon

* Add failing message in e2e_logging

* Fix for long messages - read again

* Python rpc client needs to retry to read large messages

* Tidy up logging

* Remove more unneeded logging

* Separate large-message test, replace deprecated read with recv

* Remove more unneeded logging

* Tweak large response reading in Python
2019-05-10 15:01:57 +01:00
Amaury Chamayou a6e3626a5d
Better error handling in ledger (#39) 2019-05-09 15:49:04 +01:00
Amaury Chamayou d83b49a596 Revert "Better error handling in ledger"
This reverts commit 5593cb4778.
2019-05-09 14:43:03 +01:00
Amaury Chamayou 5593cb4778 Better error handling in ledger 2019-05-09 14:39:08 +01:00
Eddy Ashton 13bcbd00f4
check-format.sh takes dirs on command line (#38)
* check-format.sh takes its target dirs from command line

* CI's check-format checks the correct (src) dir

* Format check-format.shell so shellcheck's format check checks
2019-05-09 11:19:02 +01:00
Julien Maffre 63c16ab8c1 Support new curve from python (#36)
Auto-detect curve to use based on server CA
2019-05-09 10:58:35 +01:00
Amaury Chamayou f23a0af7a1
Fix replication sequence bug (#35)
Fix replication sequence bug in KV
2019-05-09 10:05:14 +01:00
Eddy Ashton 301a201c15
Check cpp format (#37)
* check.format.sh runs on cpp files, clarify -or argument

* Remove suffix so --assume-filename works as intended

* Run clang-format over cpp files
2019-05-09 09:05:13 +01:00
Eddy Ashton 1aab39252e
Add subcommand to logging_client to send multiple transactions (#34)
* logging_client can send many log messages

* Create message outside, so we could compare record_msg

* Split into methods

* Maintain simple logging client path, make multiple messages a subcommand
2019-05-08 13:08:51 +01:00
Eddy Ashton 3dfffb70a8
Simplify client binary by loading host details from nodes.json (#33)
* snake_case

* Attestation CAs are optional

* Add start_network.py

* Add nodes options, differentiate subcommand arg descriptions

* Load host connection details from nodes json

* Consolidate CA options, default certs and PKs

* gov-script is non-optional

* nodes.json contains node certs, not networkcert

Restore passing of file path
2019-05-07 13:48:27 +01:00
Julien Maffre 576215483f Remove remote attestation CA (#32) 2019-05-07 12:52:53 +01:00
Eddy Ashton 2e2f6d2d3d
Add start_network.py (#26)
* snake_case

* Attestation CAs are optional

* Add start_network.py

* Correct formatting on start_network.py
2019-05-07 10:30:43 +01:00
Amaury Chamayou 400e2d0122
Clang tidy (#27)
* Must go through local lookup
* Fix unguarded access to history
* Simplify branches
* Removing clang-tidy from CMake, compilation DB + run-clang-tidy is easier to use
2019-05-07 09:31:48 +01:00
Theo Butler 296871cf4e Refactor CHAMP map bits (#29)
* split u32 type alias
* bitmap class
* encode invariants as constexpr values
2019-05-04 23:03:19 +01:00
Amaury Chamayou 0344dac19a
Add CI badge (#24) 2019-05-03 17:24:33 +01:00
Amaury Chamayou 44a777ae0f
KV cleanup (#23)
* Must go through local lookup
* Fix unguarded access to history
* Simplify branches
2019-05-03 11:41:06 +01:00
Eddy Ashton 9d98ac6551
Add GitHub standards files (#22)
* Add CODEOWNERS

* Add CODE_OF_CONDUCT and CONTRIBUTING
2019-05-03 11:03:37 +01:00
Eddy Ashton 2b23635b95
Export compile_commands.json by default (#21) 2019-05-03 11:01:02 +01:00
Roy Schuster 7a6244146c Using a newer version of mbedtls (#17) 2019-05-03 10:14:59 +01:00
Amaury Chamayou bda5439053
Add link to documentation and fix SVG (#20) 2019-05-02 21:40:09 +01:00
fournet 53352a5456 TR and docs (#19)
* Add the CCF technical report (987e4c1)
* Update TR and documentation on crypto
2019-05-02 21:00:42 +01:00
Amaury Chamayou 18ae94790c
Docs (#18)
* Add Glossary
* Add keys and crypto
2019-05-02 18:54:43 +01:00
Amaury Chamayou b323d47243
Point at fixed commit from upstream (#16) 2019-05-02 13:27:53 +01:00
Eddy Ashton 9186f685fe
Tick on ringbuffer, not with ECall (#15)
* Tick on ringbuffer, not as ECall

* Remove debug logging
2019-05-02 13:04:14 +01:00