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

744 Коммитов

Автор SHA1 Сообщение Дата
Amaury Chamayou f6f3523e33
Upgrade to Open Enclave 0.17.1 (#2795) 2021-07-13 21:00:18 +01:00
Julien Maffre 3437b7df0a
Cache repository data in LTS compatibility test (#2779) 2021-07-13 11:34:44 +01:00
Christoph M. Wintersteiger 299305956e
Add retiring state for 2-tx reconfiguration (#2772) 2021-07-08 22:17:50 +01:00
Julien Maffre 8ad0bd7e33
Fix reported view for read-only transaction after election (#2755) 2021-07-08 11:44:34 +01:00
Amaury Chamayou eb3f966285
JS metrics investigation and proposed fix (#2771) 2021-07-07 20:57:28 +01:00
Alex e90ae3cd43
Fix network.wait_for_new_primary for BFT (#2770) 2021-07-07 15:52:54 +01:00
Amaury Chamayou 29832139b2
Profile tests (#2766) 2021-07-06 16:35:32 +01:00
Maik Riechert ce877fcbb3
js: require IEEE P1363 ECDSA signatures in `ccf.crypto.verifySignature` (#2737) 2021-07-06 15:21:11 +01:00
Amaury Chamayou f38ec34033
Upgrade to Open Enclave 0.17.0 final (#2758) 2021-07-05 16:54:38 +01:00
Christoph M. Wintersteiger fca55ef5e2
Add learner state, logic, and test for two-tx reconfig (#2740)
* Add learner state, logic, and test for two-tx reconfig. Addresses #2723.

Co-authored-by: Julien Maffre <42961061+jumaffre@users.noreply.github.com>
Co-authored-by: Amaury Chamayou <amaury@xargs.fr>
2021-07-05 09:45:13 +01:00
Eddy Ashton 906af7a463
Fix pylint: Disable warning (#2748) 2021-06-30 11:14:04 +01:00
Amaury Chamayou 5486ebb1a6
Upgrade to Open Enclave 0.17.0-rc2 (#2745) 2021-06-30 09:06:10 +01:00
Amaury Chamayou 2eb5798847
Remove websockets support (#2746) 2021-06-29 19:30:15 +01:00
Amaury Chamayou 6237acd182
Fix incorrect clang version in test installed (#2743) 2021-06-29 10:55:30 +01:00
Amaury Chamayou a8de00a46e
Clang 10 compatibility (#2736) 2021-06-28 11:15:23 +01:00
Eddy Ashton 76ad2de751
Avoiding a crash in connections test is acceptable (#2732)
Co-authored-by: Amaury Chamayou <amchamay@microsoft.com>
2021-06-25 11:43:32 +01:00
Amaury Chamayou 5d8f46a92c
Switch to Open Enclave 0.17.0 rc1 (#2701) 2021-06-24 14:19:33 +01:00
Eddy Ashton 1795848fde
Extend timeout of recovery_test (#2718) 2021-06-24 14:00:58 +01:00
Amaury Chamayou a521c8d798
Allow for fd closing delay in connections test (#2687) 2021-06-23 19:54:04 +01:00
Amaury Chamayou e922df75ac
Committable index threaded test break fix (#2660) 2021-06-23 15:52:09 +01:00
Maik Riechert c5c85ff731
js: Add `ccf.crypto.verifySignature` (#2661) 2021-06-23 11:17:22 +01:00
Amaury Chamayou ec1acf25bf
Disable rotation test for BFT (#2708) 2021-06-22 16:59:20 +01:00
Amaury Chamayou 49419767af
Another go at fixing the LTS tests in the daily (#2706) 2021-06-21 22:09:58 +01:00
Amaury Chamayou 6def5db4ee
Fix LTS compat check (#2705) 2021-06-21 17:15:15 +01:00
Amaury Chamayou 2b8e9742a7
Add JWT keys endpoint and use it in tests (#2694) 2021-06-18 21:05:59 +01:00
Maik Riechert b7bd7ed55c
JS module bytecode caching (#2643) 2021-06-18 18:09:55 +01:00
Julien Maffre 1ae488dea6
LTS compatibility test latest tweaks (#2693) 2021-06-18 16:02:54 +01:00
Alex ab7d8c0728
. (#2690) 2021-06-18 13:08:23 +01:00
Alex 11ddc7919b
BFT recovery tests (#2663) 2021-06-18 10:24:44 +01:00
Julien Maffre f71a37dc01
Use LTS version of JS constitution (#2678) 2021-06-16 20:50:23 +01:00
Eddy Ashton da5b8596a3
Return details of HTTP parse errors in HTTP response (#2656) 2021-06-15 20:41:53 +01:00
Amaury Chamayou fe3eb2fef2
One signature retirement (#2654) 2021-06-15 19:45:17 +01:00
Julien Maffre 07c7a1dad5
Fix daily (#2667) 2021-06-15 13:05:59 +01:00
Julien Maffre 6436d16cd7
Add ability to parse snapshots with Python `ccf.ledger` module (#2644) 2021-06-15 09:09:21 +01:00
Alex 3378b3b291
BFT rotation tests (#2657) 2021-06-14 11:45:35 +01:00
Amaury Chamayou 96daff8334
Remove redundant suspension-based rotation test (#2650) 2021-06-10 18:37:34 +01:00
Julien Maffre 1d9f3fc07d
Compatibility end-to-end tests (#2595) 2021-06-04 14:30:19 +01:00
Julien Maffre 51288daa28
Fix for host connection bugs triggered by partitioning test (#2618) 2021-06-04 12:50:40 +01:00
Amaury Chamayou 411d68a536
Use full package name when installing via pip (#2639) 2021-06-04 11:11:53 +01:00
Maik Riechert 8741072c1e
Allow to launch host processes (#2461) 2021-05-28 17:37:38 +01:00
Alex 7514a65b97
AFT: Get BFT variant of the rotation tests to work (#2620) 2021-05-28 12:59:02 +01:00
Amaury Chamayou dd7f470f47
Add a '/node/consensus' RPC to facilitate operations/debug (#2621) 2021-05-27 18:06:23 +01:00
Amaury Chamayou 28b7bfa7b9
Make join robust to primary retirement (#2613) 2021-05-25 12:56:03 +01:00
Amaury Chamayou a61b04866f
Set joined status in the node (#2614) 2021-05-25 11:29:14 +01:00
Julien Maffre d408acdf0e
Deactivate partioning test in CI (#2617) 2021-05-24 20:14:38 +01:00
Julien Maffre 403474e4aa
Jwt infra refactor (#2600) 2021-05-20 17:08:16 +01:00
Julien Maffre 2900668c10
Fix for ledger chunking and snapshot out-of-sync (#2607) 2021-05-20 15:41:42 +01:00
Amaury Chamayou 482f7fc450
Fewer requests in escape test (#2602) 2021-05-19 14:10:44 +01:00
Eddy Ashton 16aaccf324
Add session metrics endpoint (#2596) 2021-05-17 11:13:20 +01:00
Amaury Chamayou 2bd604253e
Fix signed requests with escaped urls (#2594) 2021-05-14 16:32:18 +01:00
Amaury Chamayou bcd4797a26
Fix forwarding escaped urls (#2591) 2021-05-14 13:06:30 +01:00
Amaury Chamayou 3774c0ac41
Add isolation/reconnection rotation test (#2586) 2021-05-14 11:55:08 +01:00
Maik Riechert 5f24ab38b9
js: add function to validate a cert chain (#2579) 2021-05-14 09:42:33 +01:00
Eddy Ashton 68a483e81c
Update doc versions of `/gov` and `/node` OpenAPI (#2589) 2021-05-13 20:04:24 +01:00
Eddy Ashton 47d2f7a41b
Add a soft session cap, returning HTTP errors rather than closed connections (#2583) 2021-05-12 14:33:34 +01:00
Julien Maffre 020ef9aaee
Rename value returned by `/node/version` endpoint (#2584) 2021-05-12 11:42:56 +01:00
Julien Maffre cb059e2a87
Add new `/node/version` endpoint (#2582) 2021-05-11 19:26:10 +01:00
Julien Maffre ce131e667e
Python infra for testing node partitions (#2553) 2021-05-11 17:13:07 +01:00
Amaury Chamayou 5267b24b61
Test suite fixes (#2580) 2021-05-11 12:00:59 +01:00
Amaury Chamayou 56f2f6bbe2
Test nodes can be replaced successfully with same listening addresses (#2567) 2021-05-10 15:55:55 +01:00
Eddy Ashton 0184c1fb92
Add `.size` and `.clear()` to JS maps (#2569) 2021-05-10 13:08:00 +01:00
Amaury Chamayou 9db09d03d7
Test retiring pending nodes (#2570) 2021-05-07 18:06:12 +01:00
Eddy Ashton 90648533ea
Modify sample historical range query endpoint to better handle subranges (#2556) 2021-05-07 11:20:23 +01:00
Amaury Chamayou 45db0a3b27
Do not lock packages in tests (#2564) 2021-05-07 09:07:24 +01:00
Julien Maffre df8d6928ea
Install `version.h` under `include/ccf` (#2562) 2021-05-06 19:47:00 +01:00
Maik Riechert 706ed39681
js: verify open enclave evidence (#2430) 2021-05-04 18:18:04 +01:00
Eddy Ashton 8215d9f851
Add `get_quotes_for_all_trusted_nodes_v1` API (#2511) 2021-05-04 14:02:14 +01:00
Amaury Chamayou 82220f033e
Fix unknown curve error (#2551) 2021-05-04 12:29:29 +01:00
Eddy Ashton 5aa666f7a1
Add C++ API to get untrusted host time (#2550) 2021-05-04 10:38:59 +01:00
Eddy Ashton 0f69ecde97
Add tests for mixed curves for node and service identities (#2525) 2021-04-30 17:28:30 +01:00
Amaury Chamayou 6327f90d23
Lengthen timeouts for ledger reads (#2538) 2021-04-29 11:33:14 +01:00
Amaury Chamayou d93d02c549
Fix recovery sandbox (#2534) 2021-04-29 09:08:48 +01:00
Amaury Chamayou cae317471f
Fix recovery executed from tutorial (#2531) 2021-04-28 17:02:53 +01:00
Amaury Chamayou 13fea52eee
Do not try to parse uncommitted chunks by default (#2499) 2021-04-27 19:57:46 +01:00
Eddy Ashton 57f0fef553
Add test for `secp256r1` as service and node identities curve (#2516) 2021-04-27 16:55:02 +01:00
Maik Riechert f78a3ca894
js: add ccf.isValidX509CertBundle to ccf-app (#2435) 2021-04-22 14:12:43 +01:00
Eddy Ashton 5383f83a9f
Add `get_id_for_this_node_v1` (#2498) 2021-04-22 14:12:25 +01:00
Eddy Ashton c9ac75729c
Validate entity IDs in default proposal actions (#2486) 2021-04-20 17:02:11 +01:00
Eddy Ashton 52078c4e16
Read multiple directories to construct Python ledger (#2482) 2021-04-20 11:05:42 +01:00
Amaury Chamayou b2f61a2598
Record final votes and collect complete proposals (#2476) 2021-04-16 19:20:37 +01:00
Eddy Ashton e1d1ec5bf7
Expand connections test to better understand fd-exhaustion behaviour (#2467) 2021-04-16 18:40:08 +01:00
Amaury Chamayou d801564c10
Document missing governance and internal tables (#2473) 2021-04-16 13:16:15 +01:00
Maik Riechert ebc98644c9
js: expose set_apply_writes (#2470) 2021-04-15 20:30:55 +01:00
Maik Riechert 698cd36f19
Document forwarding_required & mode in app.json (#2475) 2021-04-15 18:25:37 +01:00
Amaury Chamayou 1d6584b796
Remove .js suffix (#2471) 2021-04-14 20:18:36 +01:00
Amaury Chamayou 4d59677d6f
Document tables, part I (#2460) 2021-04-14 19:45:27 +01:00
Eddy Ashton 8b1eea2dcd
Remove Lua governance and Lua dependency (#2465) 2021-04-14 19:14:40 +01:00
Julien Maffre 626175d1bf
Fix `ledger.py` behaviour with retired nodes (#2457) 2021-04-14 13:17:14 +01:00
Julien Maffre f16909a046
Join shouldn't be allowed from stale snapshots (#2422) 2021-04-12 19:04:51 +01:00
Eddy Ashton 1022d7bea0
Add set_constitution proposal (#2443) 2021-04-12 15:49:04 +01:00
Julien Maffre 9e0e908012
Remove `/gov/read` and `/gov/query` endpoints (#2442) 2021-04-12 10:54:42 +01:00
Maik Riechert e7993811ae
add ccf.digest to ccf-app (#2432) 2021-04-09 10:40:05 +01:00
Maik Riechert 2ba5cf3410
start_network: fix url in note (#2417) 2021-04-06 20:34:16 +01:00
Eddy Ashton b09e0a3047
Add 0.99.0 release notes and docs on upgrading from Lua to JS governance (#2414) 2021-04-06 13:15:43 +01:00
Amaury Chamayou 82a7f808a0
Code id gov + misc fixes (#2406) 2021-04-06 09:23:42 +01:00
Amaury Chamayou f59d416b57
Node gov actions (#2405) 2021-04-01 20:57:22 +01:00
Julien Maffre c9c05cdc81
More js actions (#2396) 2021-04-01 20:19:31 +01:00
Maik Riechert 8a6caf2b27
js gov: set_js_app / remove_js_app (#2400) 2021-04-01 15:57:53 +01:00
Amaury Chamayou b944dc5961
Split test and default actions (#2397) 2021-04-01 12:55:54 +01:00
Amaury Chamayou e05c92c770
Error details in JS gov (#2383) 2021-03-31 20:47:51 +01:00