Commit Graph

14 Commits

Author SHA1 Message Date
Grégoire Henry
420986b45b Alpha: simplify the operation datatype 2018-06-06 10:54:33 +02:00
Grégoire Henry
89cbe0f8fa Docs/RPC: fix doc generation
The current doc generator does not handles path were multiple method
are registred. The fix remove the intermediate (compilation) tree.
2018-06-06 10:54:33 +02:00
Vincent Botbol
eb78c2ae8c Docs/RPC: add query item display 2018-06-06 10:54:33 +02:00
Grégoire Henry
acc76d22a8 Alpha/Client: use block metadata 2018-06-06 10:54:33 +02:00
Grégoire Henry
d6f79edae2 Shell/RPC: rework /blocks
- start using `GET` and query parameters instead of `POST`  when
  meaningful

- inline parsed protocol data and metadata in block headers

- inline parsed protocol data and metadata in operations

- split the RPC in four categories:

  - static data, available explicitly in block headers and operations

  - static "metadata", information that were computed while validating
    a block or an operation, but which are not explicit in the block
    header (e.g. the baker of a block, the list of internal
    transfer... (currently not implemented, but that's WIP))

  - "context" all the static data we may read in the context
    (contracts balance, list of delegates, ...)

  - "helpers" are some RPC that may perform some computation.
2018-06-06 10:54:33 +02:00
Grégoire Henry
556e95cef0 Client: rename rpc call into rpc post or rpc get 2018-05-29 16:13:30 +02:00
Grégoire Henry
ee5373d960 Client: add global option --wait 2018-05-28 17:09:03 +02:00
Grégoire Henry
0d8990887c Jbuilder: fix the target @runtest_indent 2018-05-26 20:08:03 +02:00
Vincent Botbol
1833434f84 Fix: rpc json schema output would in some cases not be generated 2018-04-13 17:01:37 +00:00
Benjamin Canou
fc1ea36a62 Docs: fix the RPC and error docs intros 2018-03-26 01:04:07 +02:00
Vincent Botbol
73ba0a3fb5 Docs: normalize and prettify both errors and rpc documentation 2018-03-26 01:04:07 +02:00
Vincent Botbol
369b6d7988 Fix: sphinx warning about bad reference 2018-03-26 01:04:07 +02:00
Vincent Botbol
8441e0c7a0 Docs: add dynamic parameters description 2018-03-26 01:04:07 +02:00
Vincent Botbol
55d25c6600 Docs: add rpc documentation generation 2018-03-26 01:04:07 +02:00