Commit Graph

716 Commits

Author SHA1 Message Date
Grégoire Henry
e02b166b84
Baker/Nonces: fix reveal nonces 2018-11-07 21:50:19 +01:00
Grégoire Henry
e966d2784e
Baker/Nonces: use Block_hash.Map.t instead of association list 2018-11-07 21:50:18 +01:00
Vincent Botbol
2e2a40b331
Alpha/Client: also prevent the client from parsing n times the nonces 2018-11-07 21:50:18 +01:00
Vincent Botbol
ca1b05e514
Baker: small refactoring 2018-11-07 21:50:17 +01:00
Vincent Botbol
3b33fe1709
Baker/Nonces: on new cycles, clear 5 cycles old nonces from the file 2018-11-07 21:50:17 +01:00
Vincent Botbol
eda9d8c37f
Baker/Nonces: improve nonces file reading 2018-11-07 21:50:13 +01:00
Paul Laforgue
3441a85ff3 Add annotations for inspecting values with ASSERT_SOME, ASSERT_LEFT, ASSERT_RIGHT 2018-11-06 16:04:01 +00:00
Philippe Bidinger
4d9a7e6bbd Alpha client: added 'get receipt' command
tezos-client get receipt for operation_hash [--check-previous n]

This looks up an operation in past blocks and prints the
receipt if the operation is found. Lookup starts from head
up to n (default 10) past blocks.
2018-11-05 12:58:48 +00:00
Victor Allombert
2352a78301 RPC: add a way to access a given block using its level 2018-10-24 21:41:08 +00:00
Vincent Botbol
8d2e302f1a
Alpha/Baker: add a context's consistency check before starting the baker 2018-10-10 17:01:12 +02:00
Benjamin Canou
a475ef701a
Alpha: refactor Tez_repr tests a bit to integrate them with others 2018-10-10 16:08:16 +02:00
lykimquyen
a250198cfb
Alpha: move the test of Tez_repr in test_michelson_parser into a new separate test 2018-10-10 16:08:12 +02:00
Vincent Botbol
d93d2a9b65
Alpha/Baker: dissociate overflowing ops from the set of wished operations 2018-10-08 12:26:46 +02:00
Vincent Botbol
31d207f52e
Baker: improve logging 2018-10-02 15:27:12 +02:00
Benjamin Canou
968afcf682
Client: remove Betanet disclaimer 2018-09-17 15:53:10 +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
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
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
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
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
Pietro
b89682e441 Build: Jbuilder -> Dune 1.0.1 2018-07-24 19:15:04 +02:00
Benjamin Canou
b76b5367bb
Alpha: use underscores in error ids 2018-07-24 14:56:12 +02:00
dbornside
289cc7ba96 Alpha: fix Michelson interpreter diagnostics field names to have underscores 2018-07-24 14:37:49 +02:00