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

276 Коммитов

Автор SHA1 Сообщение Дата
olgavrou aa86312e3e merge ePBFT and CCF docs (#436) 2019-10-11 09:45:54 +01:00
Amaury Chamayou c82ccb7dbf
OpenEnclave 0.7.0-rc1 upgrade (#427) 2019-10-10 10:15:12 +01:00
Eddy Ashton b89d8c49a3
Disable test_TCP_with_delay (#428)
* Disable test_TCP_with_delay

* Add TODO comment
2019-10-10 09:19:40 +01:00
Eddy Ashton f50568085b
Perf result tweaks (#425)
* tls_bench uses mbedtls verification when appropriate

* Bitcoin verification via KP uses Bitcoin impl

* Sanitise perf test ranges

* Remove unused public key

* Verify with public key, as end users will

* Return structured histogram buckets

* Tidy tx rates formatting

* Build ASCII histogram

* Correct samples count

* Move newline

* Reduce quiescence wait

* Don't oversell small histograms
2019-10-09 18:21:22 +01:00
Julien Maffre daeea1306b
Slightly clearer docs (#426) 2019-10-09 17:32:32 +01:00
Alex 5e8e5e3f19
Add ePBFT(#420) 2019-10-09 14:08:22 +01:00
Julien Maffre a8d5351d6a
Small bank balance as a Read handler (#421) 2019-10-09 10:59:04 +01:00
Julien Maffre 5c026bedb5
Remove hardcoded accept_user_connections (#418) 2019-10-07 17:31:38 +01:00
Julien Maffre f5009fb62d
Members should vote for Lua app before opening the network (#411) 2019-10-07 15:18:10 +01:00
Alex 079e830948
Add support for compacting the KV from ePBFT (#405)
Add support for compacting the KV from ePBFT
2019-10-04 09:35:15 +01:00
Eddy Ashton f9ccfe64cc
Initialize Enclave's loggers ASAP (#412) 2019-10-03 17:24:35 +01:00
Amaury Chamayou b52eeebb8f
Update README.md (#407) 2019-10-02 11:38:07 +01:00
Julien Maffre 11543c69a7
Pending nodes should not be added to consensus (#404) 2019-10-01 17:07:29 +01:00
Amaury Chamayou e0a031c0c0
Merge node and mgmt frontends (#402) 2019-10-01 16:17:14 +01:00
Julien Maffre c089e08f02
After the service is open, members should trust new nodes (#395) 2019-09-30 13:13:42 +01:00
Amaury Chamayou a0b3a23a48
Initial minimal cut of HTTP support (#396) 2019-09-30 11:26:31 +01:00
Alex 6127202f5e
Add the epbft startup test (#399) 2019-09-30 09:30:21 +01:00
Alex 46ea053d09
PBFT - late joining node 1/???? (#394) 2019-09-25 18:11:41 +01:00
Amaury Chamayou cdf40fcc2b Allow debugging nodes that will be added in the future (#393) 2019-09-25 14:05:07 +01:00
Alex 293eb3bd18
fix issue where ePBFT globals were added to both the host and the enclave (#391) 2019-09-24 10:06:58 +01:00
Julien Maffre 0501a1e633
Fix spurious fail log messages (#389) 2019-09-23 17:48:49 +01:00
Eddy Ashton 2ea708dad3
Only send notifications from leader (#388)
* Notifier only sends notifications from primary

* Only create notification server when it is used

* Check commit notifications

* Format

* One notification-per-commit

* Formatting

* Avoid nullptr access

* Format
2019-09-23 16:30:12 +01:00
Eddy Ashton c7568876f6
Use libcurl on the host to send HTTP notifications (#381)
* Minimal curl post example

* Make sure request is null-terminated

* Python notification server receives HTTP

* Drop old notifications, write HTTP to given address

* Set appropriate content type

* Start using curl_multi

* Properly poll for curl multi responses, +cleanup

* Add Content-Type header

* Re-enable notifications test

* Minor TODOs

* Document curl dependency

* Install correct dev library for libcurl

* find_package(CURL)
2019-09-19 11:23:55 +01:00
Julien Maffre 2c1c49fe73
Disable notifications e2e check (#380) 2019-09-18 10:03:17 +01:00
olgavrou eabd57476b
fix broken links (#379) 2019-09-18 10:41:07 +03:00
Amaury Chamayou f71a103f41
Dynamic vote (#370) 2019-09-17 16:47:34 +01:00
Alex 0b62318f90 Revert "Revert "add should_mac_message config parameter (#369)" (#372)" (#378)
This reverts commit 1bd657b72d.
2019-09-17 14:51:32 +01:00
Julien Maffre 295dd70177
Fix issue and add e2e test (#377) 2019-09-17 10:05:04 +01:00
Julien Maffre 5fc380e5d2
Fix e2e test with PBFT (#374) 2019-09-16 13:06:15 +01:00
Julien Maffre 95faf70e63
Users need to be specified by members before opening the network (#371) 2019-09-16 09:24:48 +01:00
Amaury Chamayou 1bd657b72d
Revert "add should_mac_message config parameter (#369)" (#372)
This reverts commit 88c04ba04b.
2019-09-13 17:14:14 +01:00
Alex 88c04ba04b add should_mac_message config parameter (#369) 2019-09-13 17:09:51 +01:00
Julien Maffre c4f509a7d2
Members must open the network first (#366) 2019-09-13 14:37:06 +01:00
Julien Maffre e6426ac2a1
Never pass empty initial roll to global hook (#368) 2019-09-13 13:12:02 +01:00
olgavrou 78d4eb1d80
adding ci dependencies to non sgx docker image (#367) 2019-09-13 10:40:53 +01:00
Julien Maffre 59188b39fb
Fix issue with startup files not copied locally (#363) 2019-09-11 14:28:30 +01:00
Julien Maffre 30c1c230fb
Re-enable code update and add node tests (#362) 2019-09-10 11:34:21 +01:00
Amaury Chamayou 0ce7460cfa
Prefix tables (#354) 2019-09-06 18:02:26 +01:00
Eddy Ashton 108211d5e0
Don't remove completed proposals (#353)
* Add ProposalState enum

* Rename Proposal to Propose

* Rename OpenProposal to Proposal

* Add withdraw RPC

* Document withdrawal

* Consistency: Rename "removal" to verb "remove"

* Expose withdraw RPC in memberclient

* Improve error when voting for accepted proposal

* Test withdrawal behaviour in member_client_test

* Update schema

* Add formatted info to error messages

* Typo fix

* Distinguish INVALID_CALLER from INVALID_PARAMS

* Add tests of new failure modes

* Upper-case ProposalState for consistency

* Accept proposed removal of proposal removal

* Update docs
2019-09-05 17:57:08 +01:00
Amaury Chamayou f744d557bb
Docker on windows (#352) 2019-09-04 17:45:36 +01:00
olgavrou aca3a82491
log formatting (#346) 2019-09-04 12:03:33 +01:00
Amaury Chamayou 502891e559
Remove GCC-specific code, since we do not support GCC at the moment (#350) 2019-09-03 18:46:29 +01:00
Eddy Ashton 8b83e8f1eb
Remove boost dependency (#349)
* Remove boost from ansible

* Remove unused boost references

* Add dockerignore, remove clang-format Q_FOREACH

* Restore Q_FOREACH

* Non-specific FOREACH macro
2019-09-03 17:24:38 +01:00
Eddy Ashton e60585e191
Remove debug prints (#348)
* Remove debug prints

* Undelete

* clang-format
2019-09-03 14:31:44 +01:00
Julien Maffre 7f9fe92c07 Adding Service Table (#345) 2019-09-02 17:08:43 +01:00
Amaury Chamayou e16a6bbc81
Ansible cleanup (#343) 2019-08-30 08:58:49 +01:00
Julien Maffre 5cae17fb99
Remove private-tables-with-no-encryptor serialiser behaviour (#340) 2019-08-29 17:53:07 +01:00
Eddy Ashton c9b0f7ef5f
Make implicit proposer vote explicit (#339)
* Proposer sends ballot

* Remove unnecessary error log line

* Add test of proposer initially voting against

* Throw errors, not strings

* Update memberclient documentation

* --standardize-long-options

* Remove final references to nodes.json

* Modified propose_params

* Python wrappers use --updated-option-names

* --member-cert

* '=' != ' '
2019-08-29 17:16:08 +01:00
olgavrou 65bde18079
pass log path to remote class (#337) 2019-08-29 16:01:57 +01:00
Amaury Chamayou ec8cc925dd
Evercrypt submodule (#336) 2019-08-29 11:22:05 +01:00