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

14 Коммитов

Автор SHA1 Сообщение Дата
Julien Maffre 065c2e485b
HTTP signed requests (client side) (#594) 2019-11-28 11:41:46 +00:00
Alex fc1d4fbc44
PBFT view changes (#580)
Add initial integration for supporting view changes with CCF & ePBFT.
Run the election test when running CCF with ePBFT
2019-11-25 16:52:04 +00:00
Julien Maffre 2dcf7354b8
Support for HTTP in the CI (#550) 2019-11-13 09:54:32 +00:00
Julien Maffre 2d2e004dbd
First version of end-to-end tests chaining (#533) 2019-11-08 09:33:47 +00:00
Julien Maffre f5009fb62d
Members should vote for Lua app before opening the network (#411) 2019-10-07 15:18:10 +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 30c1c230fb
Re-enable code update and add node tests (#362) 2019-09-10 11:34:21 +01:00
olgavrou 72c5d4aa4f
Consensus naming (#306) 2019-08-15 17:52:43 +01:00
Eddy Ashton 395e1b05cc
Remove jsonrpc::success() (#164)
* No success without an argument

* Make it clear that JoinNetwork gets an async response

* return json::success(true);

* Expect truth

* luA luI

* Make logging.lua consistent with logging.cpp

* KO OK
2019-06-17 09:30:56 +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
Julien Maffre b10b931e7b
Full command forwarding (#75) 2019-05-20 11:45:53 +01:00
Amaury Chamayou 04ad7075e9
Get quotes rpc (#73)
Add get_quotes RPC
2019-05-17 12:24:55 +01:00
Amaury Chamayou b05da63d5c Initial file import 2019-04-26 16:27:27 +01:00