Commit Graph

160 Commits

Author SHA1 Message Date
Vincent Botbol
0512ff55ce Baking: split daemons into 3 different binaries 2018-06-19 03:06:21 +02:00
Alain Mebsout
1fccffb61c Michelson: keep field annotations in SET_CADR, MAP_CADR macros 2018-06-14 18:09:32 +02:00
Alain Mebsout
040fa2a075 Michelson: special annotations %@ and @% 2018-06-14 18:09:32 +02:00
Alain Mebsout
fcd9b61084 Michelson: annotations must start with _a-zA-Z or be empty
Empty annotations are used to mean no annotation, or as a wildcard when
destructing pairs for instance.
2018-06-14 18:09:32 +02:00
Alain Mebsout
6dacd8f6a5 Michelson: Force annotations of the same kind to be grouped 2018-06-14 18:09:32 +02:00
Alain Mebsout
1748f370fc Michelson: Remove binding annotations
Use RENAME in code blocks instead.
2018-06-14 18:09:32 +02:00
Alain Mebsout
b61df9d816 Doc: fix LOOP_LEFT type 2018-06-14 18:09:32 +02:00
Alain Mebsout
703a12f681 Michelson: new (nop) opcodes CAST and RENAME
Removes RENAME macro
2018-06-14 18:09:32 +02:00
Alain Mebsout
e8329b1fc3 Michelson: do not infer pair field names and fail when fields differ 2018-06-14 18:09:32 +02:00
Alain Mebsout
821c6255dc Michelson: annotation fixes to match the spec 2018-06-14 18:09:32 +02:00
Alain Mebsout
c63e9b6960 Doc: Documentation for Michelson annotations and new macros 2018-06-14 18:09:32 +02:00
bruno
5452d89f6c Documentation: minor improvements
- link to OPAM2 rc2
- fix some broken links
- add x86_64 restriction for the installation scripts
- misc rephrasing.
2018-06-14 00:15:46 +00:00
Benjamin Canou
ee735c33cf Alpha: fix typos and fill placeholders in services doc 2018-06-06 10:54:33 +02:00
Benjamin Canou
2e21a67648 Docs: minor fixes 2018-06-06 10:54:33 +02:00
Grégoire Henry
162bd73e85 Data_encoding: generate RST for binary description 2018-06-06 10:54:33 +02:00
Grégoire Henry
a17e5d177c Doc: add api/p2p.rst 2018-06-06 10:54:33 +02:00
Milo Davis
0a88f1887c Data_encoding: binary description printing 2018-06-06 10:54:33 +02:00
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
OCamlPro-Iguernlala
01648e7611 Node: rename option '--closed' to '--private-mode' 2018-06-05 13:29:06 +02:00
Grégoire Henry
022944c662 Doc: minor typo 2018-06-04 14:07:53 +02:00
Raphaël Proust
c3ff6867a1 Whitedoc/POS: typo 2018-06-04 13:53:29 +02:00
Raphaël Proust
17457ef0a3 Whitedoc/Michelson: minor improvements 2018-06-04 08:41:46 +08: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
642036b226 Doc: small fix in rpc_proposal 2018-05-28 18:40:54 +02:00
Grégoire Henry
2096dcdbb8 Docs: add first draft of proposed RPC changes 2018-05-28 18:07:55 +02:00
Benjamin Canou
a425b3dc27 Michelson: cleanup iterator opcodes 2018-05-28 17:09:03 +02:00
Benjamin Canou
c57458ea01 Michelson: fix inconsistency when reading and printing strings 2018-05-28 17:09:03 +02:00
Benjamin Canou
530427c813 Michelson: unpair input of CHECK_SIGNATURE 2018-05-28 17:09:03 +02:00
Grégoire Henry
ee5373d960 Client: add global option --wait 2018-05-28 17:09:03 +02:00
Benjamin Canou
a11e0000e7 Michelson: add SET_DELEGATE opcode 2018-05-28 17:09:03 +02:00
Benjamin Canou
af5a8939cf Alpha: originations from contracts are now internal operations 2018-05-28 17:09:03 +02:00
Benjamin Canou
303c43b742 Michelson: add AND of int and nat 2018-05-28 17:09:03 +02:00
Benjamin Canou
3cc88d0d81 Docs: update Michelson spec to the new address type 2018-05-28 17:09:03 +02:00
Benjamin Canou
5579d3cc97 Michelson: add untyped address type, and instructions ADDRESS and CONTRACT 2018-05-28 17:09:03 +02:00
Benjamin Canou
46efb6f3b3 Docs: update Michelson spec to the new semantics 2018-05-28 17:09:03 +02:00
Benjamin Canou
be4deb44bf Michelson: minor fix in documentation 2018-05-28 17:09:03 +02:00
Benjamin Canou
676a64b81f Michelson: rename DEFAULT_ACCOUNT to IMPLICIT_ACCOUNT 2018-05-28 17:09:03 +02:00
Rob Witoff
6ebfef63a2 fix broken gitlab raw link 2018-05-27 12:00:00 +02:00
Grégoire Henry
0d8990887c Jbuilder: fix the target @runtest_indent 2018-05-26 20:08:03 +02:00
Grégoire Henry
672d2c10a6 Doc: minor fixes in alphanet.rst 2018-05-25 10:29:55 +02:00
Vincent Bernardoff
3c95ad8237 Doc: update alphanet changelog 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
afd5a9e45f Doc: explain baking 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
add0d12963 Doc: typo 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
83f1d8197b Doc/Howto: more structure, more info on tuning proto params 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
b2207d641b Doc: update howto, alphanet, zeronet pages 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
bd84d3e439 Doc: update howto 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
1da35f6b3f Doc: add a label to zeronet page 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
19f269ce35 Doc: fix some links 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
66ec2e6087 Doc: s/Gitlab/GitLab 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
64dc9b5e9b Doc/Howto: s/mac OS/macOS 2018-05-25 10:12:48 +02:00
Vincent Bernardoff
db25df02c0 Doc/Howto: remove libsodium 2018-05-25 10:12:48 +02:00
Grégoire Henry
f8247ff6c9 Doc/Proof_of_stake: minor update 2018-05-12 23:09:17 +02:00
Raphaël Proust
771f937792 Doc: typo fixes
Note: this is only fixing typos highlighted by a spellchecker. More
typos and errors probably still lurk.
2018-05-10 12:46:16 +08:00
Pietro
0f1916981b [doc] Reword section in gretlist in p2p.rst 2018-05-03 16:03:01 +02:00
Pietro
a436b81a35 Doc: Typo 2018-05-03 16:03:01 +02:00
Vincent Bernardoff
b3df4e63c8 [P2P] ACLs: cosmetics, renamings, comments 2018-05-03 16:03:01 +02:00
Pietro
02838a4cbc p2p,node,client: Add Greylists
- add admin commands to ban and unban ips and peers
- add greylist_timeout option to configuration file (node)
- Add greylist modules + RPC
2018-05-03 16:03:01 +02:00
Grégoire Henry
c1bce70c50 Doc/Zeronet: add faucet instructions for ./zeronet.sh 2018-04-19 10:04:52 +02:00
Jonathan
92ee761451 Doc: fixed typo s/developper/developer/ 2018-04-18 14:21:42 +02:00
Grégoire Henry
3ad1ea073e Doc: some opam-foo advices 2018-04-17 13:46:57 +02:00
Grégoire Henry
2c3906d18a Zeronet: document faucet 2018-04-17 10:50:37 +02:00
Vincent Botbol
90afe58372 Fix: broken Ocsigen links 2018-04-13 17:01:37 +00: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
Vincent Botbol
385a600e98 Docs: add error documentation generation 2018-03-26 01:04:07 +02:00
Benjamin Canou
5b28e08f93 Docs: fix broken link 2018-03-01 14:16:33 +01:00
Vincent Bernardoff
684fe1110b P2P: doc and associated minor changes. 2018-03-01 14:16:33 +01:00
Vincent Bernardoff
79e39b15eb Docs: fix typos in validation 2018-03-01 14:16:33 +01:00
Bruno B
5b70094233 Update compiler version: 4.06.0 -> 4.06.1 2018-02-26 13:35:47 +00:00
Pierre Chambart
590ddb750f Change compiler's requested version 2018-02-22 05:36:57 +01:00
Benjamin Canou
71556b9418 Update the README
With: Arthur B <arthur.breitman@gmail.com>
2018-02-20 22:40:43 +00:00
Benjamin Canou
ac0a685769 Docs: add doc on OPAM packages/source code architecture 2018-02-20 22:40:42 +00:00
Benjamin Canou
2cae073e5b Docs: add more sphinx :labels: 2018-02-20 22:40:42 +00:00
Benjamin Canou
e67400f92c Docs: fix alpha doc for services 2018-02-20 22:40:41 +00:00
Benjamin Canou
138407d33a Docs: s/net/chain/ in validation drawing 2018-02-20 22:40:40 +00:00
Benjamin Canou
835a1d95bf CI: doc in branch name triggers make doc-html 2018-02-20 22:40:40 +00:00
Grégoire Henry
6fa1283240 Shell: Rename net_id into chain_id 2018-02-16 02:57:25 +01:00
Grégoire Henry
5fff7b3c1b Alpha: rename Tezos_context -> Alpha_context 2018-02-12 16:56:59 +01:00
Benjamin Canou
4820aa6098 Docs: document the validator structure 2018-02-12 03:04:40 +01:00
bruno
0241ccd8b0 Docs: Michelson: fix typos 2018-02-07 12:44:33 +01:00
Pierre Chambart
23be8282ef Docs: tutorial about profiling the node 2018-02-07 11:30:59 +01:00
Milo Davis
c108b0cfd8 Michelson: document big maps 2018-02-06 17:04:49 +01:00
Bruno Bernardo
ec86dea35f Docs: various small fixes in Michelson spec 2018-02-06 16:32:39 +01:00
Bruno Bernardo
518a07d5e4 Docs: add missing semantics for some Michelson instructions
Co-authored with: Benjamin Canou <benjamin@canou.fr>
2018-02-06 16:32:34 +01:00
Benjamin Canou
3d0ec5deb4 Michelson: remove instruction MAP on sets 2018-02-06 16:32:30 +01:00
Benjamin Canou
0863a2a9e4 Docs: add online help pages for the client 2018-01-31 14:51:56 +00:00
Grégoire Henry
ff3d8799da Add 'whitedoc/proof_of_stake' to the doc index 2018-01-27 01:44:07 +01:00
Arthur B
5823c0e6f7 PoS doc 2018-01-26 17:13:33 +00:00
Pietro
89f9d9aa5f Docs: Fix minor problem with make clean 2018-01-23 16:12:48 +01:00
Benjamin Canou
adf860ea40 Docs: new documentation structure using Sphinx/RST
- Provides a toplevel documentation structure using Sphinx
 - Adds a `doc-html` target to the main Makefile
 - Converts existing documentation to RST format
 - Add some new documentation / tutorials
 - Links the developer manual and OCaml documentation
 - Synchronized documentation on Gitlab pages

This patch is co-authored by:
 - Benjamin Canou <benjamin@canou.fr>
 - Bruno Bernardo <bernardobruno@gmail.com>
 - Pietro Abate <pietro.abate@inria.fr>
2018-01-23 08:02:17 +01:00
Milo Davis
3373a1985c Michelson: document contract creation from literal 2018-01-09 20:33:59 +00:00
Benjamin Canou
f9c28da177 Docs: update Michelson to the new collection litterals 2018-01-09 20:14:54 +01:00