Commit Graph

1915 Commits

Author SHA1 Message Date
Sebastien Mondet
6d5afcf10e
Clarify "Unexpected sequence number" warning 2018-09-24 20:15:25 +02:00
Vincent Bernardoff
8d817d62c8
Signer: initialize logging
This adds the ability to govern the logging behaviour of the signer
with environment variables.
2018-09-19 12:33:32 +02:00
Benjamin Canou
968afcf682
Client: remove Betanet disclaimer 2018-09-17 15:53:10 +02:00
Benjamin Canou
7051325ba4
P2p, client: fix network protocol version negociation 2018-09-17 13:03:28 +02:00
Arthur B
7a8fadb2f6
Crypto: add PVSS support 2018-08-31 15:46:57 +02:00
Arthur B
7206ccd560
Indentation fixes 2018-08-31 15:46:56 +02:00
Fabrice Le Fessant
a10932b577
Add a -counter argument to 'transfer AMOUNT from SRC to DST'
Useful when you have issued a transaction on a node, and the node
seems to be disconnected. You can use this option to issue the same
transaction on another node with the same counter.
2018-08-31 14:05:55 +02:00
Pietro Abate
c87b6c533d
Prevalidator: Add doc string to prevalidator/ion. 2018-08-30 16:24:17 +02:00
Thomas Blanc
952dacac82 Adding Block.Header module to State, letting Chain_traversal.live_blocks use that module 2018-08-29 18:26:40 +00:00
Thomas Blanc
c723869f65 Getting the block_header out of contents in Store (no change in State interface) 2018-08-29 18:26:40 +00:00
Vincent Botbol
ebaa3e49f6
Alpha/Baker: more refactoring 2018-08-29 11:20:27 +02:00
Vincent Botbol
dfdfdaf079
Alpha/Baker: add a max_waiting_time parameter in the command 2018-08-29 11:20:26 +02:00
Vincent Botbol
3a49a0e7c4
Alpha/Daemons: add documentation and refactor parts 2018-08-29 11:20:25 +02:00
Vincent Botbol
bfe625e27b
Alpha/Daemons: improve logging 2018-08-29 11:20:23 +02:00
Vincent Botbol
9d20295a2b
Alpha/Daemons: enforce waiting for a bootstrapped node before starting daemons 2018-08-29 11:20:22 +02:00
Vincent Botbol
1cabf7763f
Alpha/Baker: remove priority slots, add mechanism to await operations
Alpha/Baker: select only consistent endorsements before choosing to wait
2018-08-29 11:20:22 +02:00
Vincent Botbol
b99d3be1cc
Alpha/Endorser: use Client_baking_scheduling function and add log 2018-08-29 11:20:21 +02:00
Vincent Botbol
98120cf068
Alpha/Accuser: update logging messages 2018-08-29 11:20:20 +02:00
Vincent Botbol
2e410c7ae9
Alpha/Baker: add and update logging tags 2018-08-29 11:20:20 +02:00
Vincent Botbol
b5b1e5651a
Alpha/Protocol: export Period.to_seconds 2018-08-29 11:20:18 +02:00
Vincent Botbol
9f5a521188
Shell: preapply should hash instead of commit 2018-08-29 11:03:56 +02:00
Grégoire Henry
8e8fae23fd P2p: fix for file-descriptor leak on incoming connections 2018-08-28 17:25:58 +00:00
Vincent Bernardoff
17ff89186e
Logging: refactoring/code deduplication 2018-08-28 16:09:00 +02:00
Fabrice Le Fessant
2804c932f0
Fix wrongly marked revelations
Revelations are sometimes marked as skipped or backtracked, but they are
actually still applied. This fix keeps the Applied tag for Reveal operations.
2018-08-28 14:37:55 +02:00
Pierre Boutillier
b5fc7f582e
Update license in opam files 2018-08-22 14:50:13 +02:00
Vincent Bernardoff
1b4a40bf76
Crypto: adapt code to new bip39, pbkdf 2018-08-20 11:56:37 +02:00
Lý Kim Quyên
db740cee41
Add two more test for transfer zero and change comments 2018-08-20 11:47:53 +02:00
Nicolas Pinto
68e849315b
Client: rename 'passphrase' into 'password' when encrypting keys 2018-08-20 11:38:05 +02:00
Grégoire Henry
e642cb621d
Alpha/Baker: add "--context" to "tezos-client bake for"
This allows to bake by using the local context instead of relying on
the RPC 'preapply'.
2018-08-20 11:33:25 +02:00
Grégoire Henry
935132e2bb
Alpha/Baker: move code 2018-08-20 11:33:25 +02:00
Grégoire Henry
2f6896a6f3
Alpha/Client: add --mempool to command bake for <delegate>. 2018-08-20 11:33:24 +02:00
Vincent Botbol
bb82702fd6
Alpha/Baker: rename threshold into fee_threshold and include it in the baker's state 2018-08-20 11:33:23 +02:00
Grégoire Henry
618dc5757c
Alpha_002/Baker: fix local validation order.
Only the evidence should be validated after the endorsements. All
other anonymous operations should be validated before the manager
operations (e.g. activation depends on the 'global counter').
2018-08-20 11:33:23 +02:00
Vincent Botbol
b8e78c4229
Baker: make anonymous operations applied after endorsements 2018-08-20 11:33:22 +02:00
Vincent Botbol
7f07c6badb
Baker: ensure shell prevalidation is given a correct list of operations 2018-08-20 11:33:21 +02:00
Pietro Abate
70afae4a81
P2p: /network/identity -> /network/self 2018-08-20 11:17:18 +02:00
bruno
9d1bf10b94
P2p: add network/identity RPC 2018-08-20 11:17:17 +02:00
bruno
bc37fde73e
Base: add peer id (base58 string) in identity.json 2018-08-20 11:17:16 +02:00
Vincent Botbol
94451e1e62
Fix style 2018-08-20 11:04:55 +02:00
Vincent Botbol
e5b2927310
Shell/Prevalidation: add the streaming of the newly validated operations 2018-08-20 11:04:54 +02:00
Vincent Botbol
fee4e684c1
Shell/Services: add a RPC for monitoring validated operations 2018-08-20 11:04:51 +02:00
Scott Scites
14d58b584f
Client: fix lunch typos 2018-08-20 11:00:36 +02:00
Benjamin Canou
b3493f2957
Scripts: fix sandbox signer 2018-08-20 10:53:25 +02:00
Benjamin Canou
96c36f1698
Add high watermark checking for blocks and endorsements 2018-08-20 10:53:22 +02:00
Vincent Botbol
6cfd00e705
Fix typos 2018-08-09 17:08:21 +02:00
Vincent Botbol
694c48f94a
Alpha/Tests: update activation test description 2018-08-09 17:08:18 +02:00
Vincent Botbol
eb35f9967d
Alpha/Tests: test suite for combined operations 2018-08-09 17:08:17 +02:00
Vincent Botbol
ac7f4da1ab
Alpha: add utility list conversion to operation application results 2018-08-09 17:08:16 +02:00
Vincent Botbol
6a4c4f83b4
Alpha/Tests: add operation tickets to the incremental context 2018-08-09 17:08:09 +02:00
Vincent Botbol
f473fd4106
Alpha/Tests: add multiple operations creation 2018-08-03 15:56:15 +02:00
Vincent Botbol
1a75bbf95c
Alpha/Tests: fix non-increasing level when finalizing an incremental block 2018-08-03 12:40:22 +02:00
Vincent Botbol
c1f36a5ad2 Alpha/Accuser: ensure that double endorsements denunciations happens only when endorsement are not from the same branch 2018-08-02 16:45:09 +00:00
Grégoire Henry
87e0de9826 Dune: use the new syntax 2018-08-01 10:52:24 +02:00
Grégoire Henry
5362b321d9 Dune: rename s/jbuild/dune/ 2018-08-01 10:32:12 +02:00
Vincent Bernardoff
d7d7457fa3 Node/RPC: listens on all resolved RPC addresses 2018-07-27 14:40:08 +00:00
Pietro
c7cfdcb4d9 [Doc]: Fix minor warnings and errors in the doc 2018-07-25 15:58:38 +02:00
Pietro
b89682e441 Build: Jbuilder -> Dune 1.0.1 2018-07-24 19:15:04 +02:00
Vincent Bernardoff
907423a85b Signer/TCP: more flexible spec 2018-07-24 13:50:08 +00:00
Vincent Bernardoff
fe21585462 Utils/Socket: use getaddrinfo instead of gethostbyname 2018-07-24 13:50:08 +00:00
Benjamin Canou
b76b5367bb
Alpha: use underscores in error ids 2018-07-24 14:56:12 +02:00
dbornside
67cca7dd93 Node: change node config diagnostics json field labels to use underscores 2018-07-24 14:37:49 +02:00
dbornside
289cc7ba96 Alpha: fix Michelson interpreter diagnostics field names to have underscores 2018-07-24 14:37:49 +02:00
dbornside
41b98dac63 Alpha: change documented field labels to underscores in json field names 2018-07-24 14:37:49 +02:00
dbornside
ea5992d030 Alpha: change managerPubkey to underscores in json field names 2018-07-24 14:37:49 +02:00
Grégoire Henry
c1d89e3777
Compiler: use -hash-only in the test suite 2018-07-24 14:18:06 +02:00
Grégoire Henry
90ef97b38b Compiler: by default, enforce the hash declared in TEZOS_PROTOCOL 2018-07-21 01:06:51 +02:00
Grégoire Henry
588832f04c Proto: revert to the dummy hash for genesis 2018-07-21 00:29:13 +02:00
Grégoire Henry
fedf5d66c6 Proto: revert to the dummy hash for alpha 2018-07-21 00:28:48 +02:00
Pierre Chambart
30def07aee Sandbox: Update scripts 2018-07-20 17:34:42 +02:00
Grégoire Henry
663127468d Accuser: ignore heads from protocols 2018-07-20 12:25:06 +00:00
Grégoire Henry
213bedaf58 Alpha: fix up compatibility for encoding of michelson primitives 2018-07-20 04:31:17 +02:00
Benjamin Canou
70fddce545 Micheline: versioned serializer for retrocompatibility 2018-07-19 19:26:24 +02:00
Alain Mebsout
a7eb0cdf36 Micheline: Fix binary deserialization of annotations
Fixes #262
2018-07-19 19:26:24 +02:00
Benjamin Canou
3ca1fc9509 Michelson: add missing bytes primitives on comparable_ty (thanks @tomjack) 2018-07-19 19:04:35 +02:00
Pierre Chambart
09592a6eeb Michelson: test compare on bytes and concat on 2 strings 2018-07-19 19:04:35 +02:00
Pierre Chambart
74b7ca2c77 Michelson: allow CONCAT on two bytes/strings 2018-07-19 19:04:35 +02:00
Benjamin Canou
e70cd5c645 Michelson: a few new tests 2018-07-19 19:04:35 +02:00
Benjamin Canou
7a9be54bd0 Michelson: add SIZE on string and bytes 2018-07-19 19:04:35 +02:00
Benjamin Canou
7508895e2d Michelson: add SLICE instruction on strings and bytes 2018-07-19 19:04:35 +02:00
Benjamin Canou
cd9dd32665 Michelson: add CONCAT on bytes 2018-07-19 19:04:35 +02:00
Benjamin Canou
c691068209 Michelson: change semantics of CONCAT 2018-07-19 19:04:35 +02:00
Benjamin Canou
bd709a44ba Michelson: parse bytes as a comparable_ty (thanks @catsigma) 2018-07-19 19:04:35 +02:00
Pierre Chambart
5a60dff917 Protocol_compiler: Add an option to avoid compiling 2018-07-19 18:52:00 +02:00
Grégoire Henry
077b3cd964 Script: add archive_protocol.sh 2018-07-19 18:52:00 +02:00
Grégoire Henry
50151c55a1 Compiler: allow for _ in protocol directory name. 2018-07-19 18:52:00 +02:00
Grégoire Henry
9b9c3a1bee Proto: avoid conflict between client errors 2018-07-19 18:52:00 +02:00
Pierre Chambart
cff6c4beb1 Alpha_002: forced registration for unregistered delegates 2018-07-19 18:52:00 +02:00
Pierre Chambart
15857d7e90 Alpha_002: prepare for Proto_alpha upgrade 2018-07-19 00:32:39 +02:00
Pierre Chambart
e80839efe1 Alpha: really allow big maps in lambda 2018-07-18 21:45:21 +00:00
Pierre Chambart
9bec16b6a2 Alpha: typecheck_data shouldn't allow big maps 2018-07-18 21:45:21 +00:00
Benjamin Canou
93a5b3fb7d Michelson: allow big_maps in more places 2018-07-18 21:45:21 +00:00
Grégoire Henry
c91f082a28
Makefile: rename tezos-$protocol-baker to tezos-baker-$protocol 2018-07-18 23:43:49 +02:00
Pierre Chambart
ae1f325b76 Baker: correct handling of protocol upgrades 2018-07-18 22:34:13 +02:00
Grégoire Henry
86091e98c6 Baker: use next_protocols when calling GET /monitor/heads 2018-07-18 22:34:13 +02:00
Grégoire Henry
f9dd92d6b4 Shell/RPC: fix filtering of next_protocols in GET /monitor/heads 2018-07-18 22:34:13 +02:00
Grégoire Henry
378c4e2780 Node: --connections now implies --peer-table-size 2018-07-18 17:48:39 +02:00
Grégoire Henry
41fe7d17ea Node: check that the size of known_peer_ids is coherent 2018-07-18 17:48:39 +02:00
Grégoire Henry
c0d42c8f46 P2p: do not drop currently connected peers 2018-07-18 17:48:39 +02:00
Vincent Botbol
4fe9f82735 Alpha/Tests: add self-delegation on origination test cases 2018-07-17 16:56:56 +02:00
Vincent Botbol
07486a3027 Alpha/Origination: ensure that delegate's originated accounts are registered 2018-07-17 16:46:29 +02:00