Commit Graph

1015 Commits

Author SHA1 Message Date
Vincent Bernardoff
4fe973fa72 Ed25519: add bytes converters 2018-01-15 21:20:22 +01:00
Grégoire Henry
ae82f2b279 Shell: enforce the context hash of the block header 2018-01-15 18:35:51 +01:00
Grégoire Henry
009d562e08 Shell: add context in block header 2018-01-15 18:32:00 +01:00
Grégoire Henry
270dc3e9e8 Context: remove the default message
If we want to includes hash of the context in the block header, we
cannot have a (default) commit message that includes the block hash.
We break this circular dependency by removing the default commit
message.
2018-01-15 18:29:22 +01:00
Grégoire Henry
881186c58f Client/Genesis: let's use 'preapply'.
This will be mandatory once the context hash is stored in block
header.
2018-01-15 18:29:22 +01:00
Grégoire Henry
e850648894 Shell/RPC: preapply now take a list of list of operations.
Progress towards the multipass validator.
2018-01-15 18:24:08 +01:00
Pierre Chambart
46d7830af4 Shell: Memoize locator computations 2018-01-15 18:18:42 +01:00
Grégoire Henry
9405b702e9 OPAM: use the hex package
It replaces our own `Hex_encode` module.
2018-01-15 15:05:07 +01:00
Milo Davis
0c9592bca7 Michelson: SELF instruction implemented 2018-01-15 13:43:42 +00:00
Pietro
d69717dd75 gitignore: .DS_Store banished! 2018-01-13 13:04:46 +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
Milo Davis
c71d6c704f Micheline: more compact binary serialization 2018-01-09 19:59:02 +01:00
Milo Davis
f1132b8044 Michelson: Collection literals are now sequences 2018-01-09 19:59:02 +01:00
Milo Davis
2364a66403 Michelson: Simpler prim encoding 2018-01-09 19:59:02 +01:00
Bruno B
6e1be8efe3 Docs: fix broken link 2018-01-09 10:23:00 +01:00
Milo Davis
899bc53289 Emacs: use special-mode-map derivative in output buffer 2018-01-08 10:48:50 -05:00
Vincent Bernardoff
2d00e5a2f8 Base58: use option values instead of raising 2018-01-08 12:25:42 +01:00
Vincent Bernardoff
2d349b606f TzString: add fold_left 2018-01-08 12:25:42 +01:00
Vincent Bernardoff
44b39a51c3 Ed25519: typos 2018-01-04 17:30:39 +01:00
Vincent Bernardoff
58ad60f38a Lwt: do not use deprecated functions 2018-01-02 15:44:08 +00:00
Benjamin Canou
0ce7c79367 Micheline: fix loop in resilient parser 2018-01-02 12:50:50 +01:00
Milo Davis
a7617f527d Michelson: Contract creation from literal 2017-12-21 11:15:43 +01:00
Benjamin Canou
2e859f14a3 Michelson: add regression test for hash consistency 2017-12-18 11:48:50 +01:00
Milo Davis
6eec862617 Michelson: makes command line consistent with Michelson 2017-12-16 01:33:34 +01:00
Vincent Bernardoff
dabc30ea5f Node: warn user if {TEZOS,LWT}_LOG is invalid 2017-12-15 17:28:44 +01:00
Vincent Bernardoff
f10d979432 Stdlib: add Option.try_with 2017-12-15 17:00:50 +01:00
Pietro Abate
9d30a8f4bf Node: better error reporting in peer validator 2017-12-15 01:29:00 +01:00
Milo Davis
054506a85f Init-client: fix bash-completion error 2017-12-14 23:45:48 +00:00
Milo Davis
e54b7e9eb2 Micheline: fixes bug in resilient parser 2017-12-14 20:03:43 +00:00
Pietro Abate
71c8e02b41 Node: properly restore the current head after a node reboot
Together With Benjamin and Vincent (teamwork !)
2017-12-14 19:12:07 +01:00
Benjamin Canou
ac93872b2c Alpha: allow no commas in tez litterals 2017-12-14 18:48:52 +01:00
Milo Davis
319585dd80 Michelson: preliminary gas infrastructure
Costs are yet to be tweaked.

This patch is joint work between:
  Milo Davis <davis.mil@husky.neu.edu>
  Benjamin Canou <benjamin@canou.fr>
  Pierre Chambart <pierre.chambart@ocamlpro.com>
2017-12-14 18:11:26 +01:00
Milo Davis
ef29aa2d0a Michelson: reindent interpreter 2017-12-14 18:11:26 +01:00
Milo Davis
82dcd5c179 Data_encoding: optimize binary serialization 2017-12-14 18:10:50 +01:00
Milo Davis
b2918c1387 Data_encoding: Adds ranged_int and ranged_float 2017-12-14 18:10:50 +01:00
Milo Davis
dc7a023e22 Data_encoding: Make tags on unions mandatory 2017-12-14 18:10:50 +01:00
Milo Davis
abd5bb22a8 Error monad: Better error for non-object error encodings 2017-12-14 18:10:50 +01:00
Milo Davis
25bc6bfc96 RPC: Hides optional fields when inputting JSON 2017-12-14 18:10:50 +01:00
Milo Davis
e75112d8e2 RPC: file can be used with rpc call 2017-12-14 18:10:50 +01:00
Milo Davis
9f5b6183ac Apply patch: update script to match new directory structure 2017-12-13 14:14:24 +00:00
Vincent Bernardoff
74318c89eb Client: use node address and port specified in config file 2017-12-12 17:35:33 +01:00
Vincent Bernardoff
e9c45c076e Client: fix default host socket address 2017-12-12 16:47:40 +01:00
Benjamin Canou
0c06513866 Fix CI (wrong package name) 2017-12-12 14:39:53 +01:00
Milo Davis
2595c14944 Build: add -safe-string to more places 2017-12-12 11:42:18 +01:00
Grégoire Henry
3c38458843 RPC: simplify the signature of Client_rpcs.ctxt 2017-12-11 17:53:54 +00:00
Grégoire Henry
c66f0232f5 RPC: add BSON serialization 2017-12-11 17:53:53 +00:00
Grégoire Henry
fe559a1f73 RPC: share some RPC_arg definitions in lib_base 2017-12-11 17:53:53 +00:00
Grégoire Henry
60503aa6fa RPC: split package tezos-node_services 2017-12-11 17:53:52 +00:00
Grégoire Henry
0871911920 RPC: split modules RPC/RPC_server 2017-12-11 17:53:51 +00:00