Pierre Boutillier
cb038afa42
Revert "Target only USB ledger with interface number 0"
...
This reverts commit 02bc43b094
and
should restore compatibility with Ledgers on MacOS.
2019-01-02 19:11:53 +00:00
Philippe Bidinger
6895d7a87b
Stdlib: add some docstrings
2019-01-02 19:22:09 +01:00
Eugen Zalinescu
febaa3b7ed
voting: 3 new small tests
2019-01-02 17:07:34 +00:00
Sebastien Mondet
8b054deee3
Signer/Ledger: improve tezos-client show ledger
command
2019-01-02 17:50:37 +01:00
Sebastien Mondet
02b1d3e93d
Signer/Ledger: allow ledger://...
URIs without curve/path
2019-01-02 17:50:36 +01:00
Philippe Bidinger
423af85c76
online doc for --connections
2018-12-21 12:08:41 +01:00
Pietro Abate
e7b00b368d
Stdlib: remove spurious comment in weakTableRing
2018-12-20 17:06:34 +01:00
MBourgoin
58a3abcb4c
StdLib: introduce a WeakRingTable based on ephemerons for bounded cache/memoization purposes
...
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
2018-12-18 16:02:18 +01:00
Raphaël Proust
903f56d5c9
Shell/mempool_peer_worker: improve docstrings
2018-12-17 15:20:09 +01:00
Pietro Abate
35bccd05b1
Mempool: fix minor copyright and docstring strings
...
and change Work.work in Work.process_batch
2018-12-17 15:20:09 +01:00
Raphaël Proust
7cbf457888
Shell/mempool: bounded peer-workers request-queue size
2018-12-17 15:20:09 +01:00
Raphaël Proust
31242ebcb9
Shell/mempool: throttle peer workers
2018-12-17 15:20:08 +01:00
Raphaël Proust
8ba2bc2001
Shell/mempool: add identifiers to Worker.Name instances
2018-12-17 15:20:08 +01:00
Raphaël Proust
6a14afc1b0
Shell: introduce Mempool_peer_worker
...
A module for the ongoing mempool overhaul.
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
2018-12-17 15:20:08 +01:00
Raphaël Proust
ad9d087031
Shell/Mempool: limited, configurable size of parsed cache
2018-12-17 15:20:07 +01:00
Pietro Abate
0bb2f3d4d1
Mempool: cache result and operation in ValidatedCache
2018-12-17 15:20:07 +01:00
Raphaël Proust
1420715ab9
Shell/Mempool: minor clean up, remove unneeded function
2018-12-17 15:20:07 +01:00
Pietro Abate
e7a967376c
Mempool: unbox Request message and clarify pp message
2018-12-17 15:20:07 +01:00
Pietro Abate
34e8a1ce1e
Mempool: split validated operations cache and parsed operations cache
2018-12-17 15:20:06 +01:00
Pietro Abate
71790470ad
Mempool: make Mempool_worker.parse non-blocking.
2018-12-17 15:20:06 +01:00
Raphaël Proust
6b7031ad3c
Mempool_peer_worker: simpler interface
...
Removes unecessary primitives, types, etc.
2018-12-17 15:20:06 +01:00
Raphaël Proust
1431bcd6c8
Mempool_peer_worker: minor improvements
2018-12-17 15:20:05 +01:00
Raphaël Proust
460262130e
Mempool_peer_worker
...
A module for the ongoing mempool overhaul.
2018-12-17 15:20:05 +01:00
Raphaël Proust
5059b6ad4e
Mempool_worker: only introduce errors where they are needed
2018-12-17 15:20:05 +01:00
Raphaël Proust
7e687f8608
Mempool_worker: error management at create
2018-12-17 15:20:05 +01:00
phink
0d22209028
Micheline: fix forgotten annotation
2018-12-17 12:30:44 +00:00
Sebastien Mondet
8772b23235
Make register key .. as delegate
“idempotent”
2018-12-14 12:50:25 -05:00
Tom Jack
d53918451b
Shell: mempool RPC fixes
2018-12-11 21:31:28 +00:00
Tom Jack
4449389ef2
Michelson: fix roman numeral DIP unexpansion
2018-12-10 14:00:24 +00:00
Vincent Bernardoff
f35b7f33ed
Everywhere: sed 's/picotez/nanotez/g'
2018-12-04 13:26:41 +00:00
Eugen Zalinescu
a8aac1ca03
Alpha: test reward retrieval with two endorsers
2018-12-03 16:18:47 +01:00
James Deikun
08d94170be
More logging for the client daemons
...
- log seen blocks and heads when monitoring
- more detailed logging for baked blocks
- more detailed logging for endorsements
- more detailed logging for denunciations
- more detailed logging for nonce revelations
2018-12-03 16:00:58 +01:00
Pietro Abate
214055ac62
RPC: print uri in RPC_context.Not_found
2018-12-03 14:30:23 +00:00
Raphaël Proust
5cc9e6ccc6
Shell/Mempool: limited, configurable size of parsed cache
2018-12-03 14:08:11 +00:00
Pietro Abate
2d5c56eeca
Mempool: cache result and operation in ValidatedCache
2018-12-03 14:08:11 +00:00
Raphaël Proust
52d7215ed2
Shell/Mempool: minor clean up, remove unneeded function
2018-12-03 14:08:11 +00:00
Pietro Abate
98d772cc75
Mempool: unbox Request message and clarify pp message
2018-12-03 14:08:11 +00:00
Pietro Abate
fee5f44d63
Mempool: split validated operations cache and parsed operations cache
2018-12-03 14:08:11 +00:00
Pietro Abate
56ee8ba849
Mempool: make Mempool_worker.parse non-blocking.
2018-12-03 14:08:11 +00:00
Jun FURUSE
b843dbcb7b
Typo fixes
2018-12-01 06:57:40 +00:00
Vincent Botbol
3290c10531
Baker: log included operations on block injection failure
2018-11-26 19:33:44 +01:00
Vincent Botbol
c13a7135f8
Baker: fix inconsistency in logging
2018-11-26 19:33:36 +01:00
Vincent Botbol
030916ed11
Prevalidation: fix preapply where applied operations would be reversed
2018-11-26 18:34:45 +01:00
Lý Kim Quyên
86d7306e47
Tests: fix test of instruction STEPS_TO_QUOTA
2018-11-26 15:07:09 +01:00
Grégoire Henry
c2049a3a18
Client/Alpha: implements --fee-cap
and --burn-cap
2018-11-24 07:22:50 +01:00
Vincent Botbol
9f52c43cff
Baker/Endorser: record baked blocks and endorsement before injecting
2018-11-23 23:13:03 +01:00
Grégoire Henry
3b46f49651
Alpha: minor fixes
2018-11-23 22:45:18 +01:00
Grégoire Henry
fa4b33aa47
Alpha: fix gas consumption for manager operations
2018-11-23 22:45:17 +01:00
Grégoire Henry
ee722a237a
Alpha/Baker: use picotez for minimal_fees_per_{gas_unit,byte}
2018-11-23 21:54:16 +01:00
Marco Stronati
e3111bc574
Shell: add rpc to trigget a Get_current_event
2018-11-23 21:45:35 +01:00
Grégoire Henry
6b3517e095
Alpha/Test: fix voting test
2018-11-23 21:44:52 +01:00
Grégoire Henry
6e0cc99a03
Alpha: fix punishment for unrevealed nonces.
2018-11-23 18:38:40 +01:00
Grégoire Henry
8a8912c9bd
Mempool: correctly filter out endorsement without bond
2018-11-23 18:38:23 +01:00
Marco Stronati
065d629e7c
Alpha/Vote: faster refusal of too many proposals
2018-11-23 18:38:01 +01:00
Grégoire Henry
30aa2ec204
Alpha: increased gas cost for origination
2018-11-23 18:37:16 +01:00
Tom Jack
9afdd9b167
Alpha: count origination burn towards storage limit
2018-11-23 18:36:58 +01:00
Grégoire Henry
4b6f471ead
Alpha/Baking: add minimal fees and wait for late endorsement
2018-11-22 20:38:38 +01:00
Pierre Chambart
56936c7a1e
Add sync test option
2018-11-22 19:06:19 +01:00
Pietro Abate
2baa6c830c
Mempool: filter pendinds to include endorsement only
2018-11-22 18:20:50 +01:00
Marco Stronati
0b98dbd472
Shell: add rpc to trigget a Get_current_event
2018-11-22 18:20:49 +01:00
Benjamin Canou
fc42bd5a91
Alpha: increment version string and update context stitching
2018-11-22 18:17:36 +01:00
Grégoire Henry
c656d54500
Alpha: improve storage
2018-11-22 18:17:35 +01:00
Grégoire Henry
1dc748ee47
Alpha: maintain the set of delegates with frozen balance
2018-11-22 18:17:35 +01:00
Grégoire Henry
d34ca12240
Alpha: maintain a set of active delegates with rolls
2018-11-22 18:17:35 +01:00
Benjamin Canou
aebe8319d5
Alpha: fix tests w.r.t. the new origination policy
2018-11-22 18:17:35 +01:00
Benjamin Canou
a991396e10
Alpha: make origination cost for tz[123]s on par with KT1s
2018-11-22 18:17:35 +01:00
Grégoire Henry
09e3881c6b
Alpha/Vote: do not allow multiple votes
2018-11-22 18:13:54 +01:00
Marco Stronati
17b258b92c
Alpha/Tests: test for limit
2018-11-22 18:13:54 +01:00
Marco Stronati
278ffb5a17
Alpha/Vote: limit number of proposals per delegate to 20
2018-11-22 18:13:54 +01:00
Marco Stronati
249bbbcb6d
Alpha/Tests: add voting tests
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Jun FURUSE
09a8721598
Alpha/Vote: fix proposal voting to be stake propotional
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Marco Stronati
f1614414cc
Alpha/Vote: add RPCs to read voting state
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Grégoire Henry
c981391128
Alpha: fix indent
2018-11-22 18:13:53 +01:00
Benjamin Canou
6510869b73
Updater: registration or a protocol now returns the registered module
2018-11-22 18:07:07 +01:00
Vincent Botbol
32d2bf606d
Baker: fix documentation typo
2018-11-21 14:45:12 +01:00
Vincent Botbol
dfb10047ef
RPC/Shell: make list_blocks tail-rec
2018-11-20 16:57:31 +01:00
Lý Kim Quyên
eb673b19f2
fix the parser by adding the character 'b' into the case of warning instead of raise an error'
2018-11-19 21:37:54 +00:00
Vincent Bernardoff
9f5ebc659e
Client: add encrypt secret key
client command
2018-11-19 15:22:24 +00:00
Pierre Boutillier
991b39a2b5
Signer: Fix high watermarking
...
Fix 89372a8e28
2018-11-19 14:53:41 +01:00
Sebastien Mondet
2cd1be9ee9
Prompt for key validation from Ledger (importing)
2018-11-19 09:39:59 +01:00
Benjamin Canou
d3cdfca8e4
Fix OPAM dependencies
2018-11-16 14:04:55 +01:00
Sebastien Mondet
67ad47d054
Remove unused, duplicate function
...
The function `find_log_rules` in `src/bin_node/node_run_command.ml` is an older
duplicate of the one in `Logging_unix`.
2018-11-16 13:50:33 +01:00
Victor Allombert
9ecc2e517c
Shell/validator: allow standalone block validation
...
Co-authored with `Grégoire Henry <gregoire.henry@tezos.com>`
2018-11-16 11:40:58 +01:00
Pierre Boutillier
ede71b9e83
Baker: Fix nonces file cleanup
...
If it fails to fetch the metadata of a block it has a nonce for,
it drops the nonce.
2018-11-15 16:10:48 +00:00
Pierre Boutillier
8b839c9ad9
A port is an unsigned int16... (fix encoding)
2018-11-15 14:08:20 +01:00
Raphaël Proust
481772fc98
Mempool_worker: only introduce errors where they are needed
2018-11-14 09:08:26 +08:00
Raphaël Proust
f593677e99
Mempool_worker: error management at create
2018-11-14 09:08:22 +08:00
Benjamin Canou
89372a8e28
Signer: better high watermarking
2018-11-13 15:16:12 +01:00
Grégoire Henry
3f04501c0d
Shell: less optimistic heuristic for head change
2018-11-13 13:35:23 +00:00
Grégoire Henry
966c86def2
Shell: export fitness of the current mempool
2018-11-13 13:35:23 +00:00
Pietro
6a83898d98
Base: Add block header docstring
2018-11-12 15:25:45 +00:00
Benjamin Canou
494a4be140
Client: cleanup runtest_contracts.sh and remove attic tests
2018-11-12 11:30:35 +01:00
b
87be7df584
Client: rm attic/fail.tz (duplicate from macros/fail.tz) & improve TODO messages
2018-11-12 11:30:34 +01:00
b
e8fd44dca4
Client: reorg Michelson contracts + update bash scripts
2018-11-12 11:30:33 +01:00
b
ff468aac68
Client: reorg Michelson test contracts and bash scripts (mini_scenarios, pt2)
2018-11-12 11:30:33 +01:00
b
2f58e86fa8
Client: reorg Michelson test contracts and bash scripts (macros, pt2)
2018-11-12 11:30:32 +01:00
b
3c1f5702e1
Client: reorg Michelson test contracts and bash scripts (opcode, pt2)
2018-11-12 11:30:31 +01:00
b
015c5ed694
Client: reorg Michelson test contracts and bash scripts (attic, pt2)
2018-11-12 11:30:31 +01:00
lykimquyen
291e3f06a3
Tests: reorganise Michelson tests
2018-11-12 11:30:30 +01:00
lykimquyen
6ee47d63c0
Tests: split Michelson tests into category attic
2018-11-12 11:30:29 +01:00
lykimquyen
8d09fffbab
Tests: split Michelson tests into category mini_scenarios
2018-11-12 11:30:29 +01:00
lykimquyen
a37a1f49f7
Tests: split Michelson tests into category macros
2018-11-12 11:30:28 +01:00
lykimquyen
e719f401f6
Tests: split Michelson tests into category opcode
2018-11-12 11:30:27 +01:00
Vincent Bernardoff
56fa339937
Signer: remove socket on all more termination signals
2018-11-09 13:04:40 +00:00
Vincent Bernardoff
d1c46b5cf2
Signer: add other remote signers
...
For redundancy purposes, there is no reason why a remote signer could
not sign with other remote signers. This patch adds remote signers
support for signers.
2018-11-09 13:04:40 +00:00
Pietro Abate
0b08fcfa2c
Shell: introduce Mempool_worker
...
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
2018-11-08 01:19:56 +01:00
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
MBourgoin
527a2fb621
Client/Context_unix: load_file print error
2018-11-07 15:48:18 +01:00
MBourgoin
e35e263fd6
Client/Context_unix: code style
2018-11-07 15:48:16 +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
Raphaël Proust
5400984c36
Fix CI: remove unneeded open
s
2018-11-06 12:54:10 +00:00
Benjamin Canou
536e64d93f
Mempool: add simple limits to the mempool
2018-11-06 12:54:10 +00:00
Julien Tesson
532a934438
bin_node: sanity check on node identity file
2018-11-05 15:24:13 +01:00
Julien Tesson
0c9812f881
lib_crypto: Adding pretty printer for public keys
2018-11-05 15:24:13 +01:00
Julien Tesson
71e708830d
lib_crypto: export neuterize and public_key equality
2018-11-05 15:24:12 +01:00
Pierre Boutillier
1e5c6da307
Fix bc37fde73e
: Restore compatibily with (old) identity.json that does not contain a peer_id
2018-11-05 15:24:10 +01:00
MBourgoin
255d9e4ff7
Shell/Distributed_db: make initial request delay depend on resource kind
2018-11-05 15:08:19 +01: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
Vincent Botbol
14b1ba2adc
Stdlib/Ring: fix ring's semantics
2018-10-26 15:56:36 +02:00
Vincent Bernardoff
f898062fd4
Signer: add handler.mli
2018-10-26 11:33:19 +00:00
Benjamin Canou
203c212bcc
Micheline: fix printer for code that exceeds 80 columns
2018-10-26 12:06:03 +02:00
MBourgoin
0392284716
Shell/Peer_metadata: change counters to aribtrary precision integers
2018-10-24 22:15:38 +00:00
Victor Allombert
9d34bd6f16
RPC: minor changes and add genesis+N
2018-10-24 21:41:08 +00:00
Victor Allombert
60a6b76229
RPC: add a hash+N and a hash-N notations
2018-10-24 21:41:08 +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
bb6983590f
Shell: fix notification of new operations in the mempool
2018-10-24 18:02:38 +02:00
Mathias Bourgoin
1272b11ea2
Shell: first batch of statistics in the DistributedDB
...
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Mathias Bourgoin <mathias.bourgoin@tezcore.com>
2018-10-24 11:48:12 +02:00
Victor Allombert
ee640c8653
Shell: Extract the block-application function into a separate module
2018-10-24 10:51:33 +02:00
Raphaël Proust
7cbfcfa608
Shell: simplify the signature of Prevalidation
...
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Grégoire Henry <gregoire@tezcore.com>
2018-10-22 14:46:37 +02:00
Sebastien Mondet
02bc43b094
Target only USB ledger with interface number 0
2018-10-21 16:27:14 -04:00
Vincent Botbol
e61de64474
Admin/P2P: update the admin client commands for the new RPCs
2018-10-17 15:06:36 +02:00
Vincent Botbol
b6bb16caf1
Admin/P2P: remove forget peer/address RPC, introduce untrust & unban peer/address.
2018-10-17 15:06:35 +02:00
Vincent Botbol
f4a368f81e
RPC: replace return ()
with return_unit
2018-10-17 15:06:35 +02:00
Vincent Botbol
c631de08f9
Admin/P2P: use the same IP:PORT notation as the node
2018-10-17 15:06:35 +02:00
Vincent Botbol
57fa653c5e
Admin/P2P: register forget and kick RPC
2018-10-17 15:06:34 +02:00
Vincent Botbol
705a779d76
Admin: add an "unmark all" invalid blocks command
2018-10-17 15:06:34 +02:00
Vincent Botbol
8e7da9281e
Admin: improve documentation
2018-10-17 15:06:33 +02:00
Raphaël Proust
bd116f3db7
Prevalidator: move Prevalidation RPCs in Prevalidator
2018-10-17 17:06:08 +08:00
Grégoire Henry
45a07d534f
Shell: fix error messages
2018-10-17 17:02:05 +08:00
Raphaël Proust
c4e65879fc
Prevalidator/Prevalidation: move existential
...
Note that now, the chain_validator is responsible for swapping the
prevalidator when a new protocol arrives.
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Grégoire Henry <gregoire.henry@tezos.com>
2018-10-17 17:01:44 +08:00
Raphaël Proust
129caccf4e
Shell/worker: export functor result signature
2018-10-17 10:32:37 +02:00
Pietro Abate
8b8b355bd3
Add Registry to stdlib
...
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
2018-10-17 10:32:35 +02:00
Raphaël Proust
e02ba41a65
Tooling: do not enter _opam when fixing indent
2018-10-10 18:49:09 +02: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
Alex Stokes
8490e01b07
Fix typo in compiler.ml
2018-10-06 06:15:55 +00:00
Benjamin Canou
0feb5bd07a
Signer: fix animals test
2018-10-04 17:13:29 +02:00
Benjamin Canou
3eeea7c1af
Client: cleanup some output
2018-10-04 15:28:23 +02:00
Vincent Bernardoff
4fa4ab0b8f
Ledger: add support for animal names in URI
2018-10-04 15:28:22 +02:00
Arthur B
0b7155ca91
Cuteness: method for naming hashes, produces 137e9 possibilities
2018-10-04 15:28:20 +02:00
Vincent Bernardoff
4bb28cd285
Ledger: implement authorized-path APDU
2018-10-03 14:08:39 +02:00
Vincent Bernardoff
92715a005b
Ledger: implement git-commit APDU
2018-10-03 14:08:37 +02:00
Vincent Botbol
31d207f52e
Baker: improve logging
2018-10-02 15:27:12 +02:00
Vincent Botbol
a68124dfc0
Encoding: handle invalid utf8 sequences
2018-10-01 15:31:41 +02:00
Vincent Botbol
d5e0c1c51f
Clic: fix indentation
2018-09-26 11:14:37 +02:00
Benjamin Canou
5167f7b298
Clic: minor internal types cleanup
2018-09-25 10:45:20 +02:00
Pierre Chambart
09bf4e4819
Store and Context: open the database with the nometasync flag
...
This mode maintains the coherency of the database in case of crash,
but can drop the last commits. This is not a problem for us since
every data is recoverable.
2018-09-24 20:29:58 +02:00
Pierre Chambart
bfeff69794
Vendors/lmdb: Change the default sync flags
...
The default was unsafe but fast, we change that to the safe version.
2018-09-24 18:19:22 +00:00
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
Xavier Clerc
9c3d7fa2d6
v0.11.119.00+92
2018-08-23 09:56:24 +01: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
Xavier Clerc
bdb7fe397e
v0.11.117.19+179
2018-08-13 10:25:18 +01: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_map
s 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
Alain Mebsout
da986e27ab
Proto: show Michleson error traces in correct order
2018-07-17 13:52:04 +00:00
Alain Mebsout
e52455f00a
RPC: new client command and RPC to retrieve big map value by key
2018-07-17 13:42:04 +00:00
Alain Mebsout
82f20ade37
Proto: show big map diff in transaction receipt
2018-07-17 13:42:04 +00:00
Alain Mebsout
d73d3fdf2b
Proto: Show big map diffs with keys as expressions in addtion to hashes
2018-07-17 13:42:04 +00:00
Alain Mebsout
2da9a5331e
Client: Say which file would not be read
2018-07-17 13:42:04 +00:00
Alain Mebsout
a36f42506a
Alpha: Fix CREATE_CONTRACT spends twice
2018-07-17 14:37:54 +02:00
Milo Davis
7d58552bd5
Michelson: add command to view bytes as Michelson
2018-07-17 14:09:54 +02:00
Grégoire Henry
122a2421a6
Client/Test: fix sandbox detection
2018-07-17 13:51:53 +02:00
Vincent Bernardoff
41f6757ef8
Everywhere: exception Not_found -> _opt
2018-07-13 01:31:04 +02:00
Grégoire Henry
359f858c3e
CI: fix opam dependencies
2018-07-11 23:27:04 +02:00
Vincent Botbol
6909f0b3bc
Shell: benchmark for the context storage
...
Co-authored-by: Quyen <kim.quyen.ly@tezos.com>
Co-authored-by: Grégoire Henry <gregoire.henry@tezos.com>
Signed-off-by: Grégoire Henry <gregoire.henry@tezos.com>
2018-07-11 21:02:14 +02:00
Grégoire Henry
ea4e33b0e2
Client: preload encrypted keys when running a daemon (again)
...
This is 370114eb8b
again, sigh.
2018-07-09 13:02:06 +02:00
Vincent Bernardoff
d6fac868ee
Signer/Ledger: hash big payloads on Ledger if supported
2018-07-06 23:27:20 +02:00
Benjamin Canou
edc1a6512f
CI: fix p2p opam tests
2018-07-06 19:11:50 +02:00
Grégoire Henry
c0222e53ee
CI: use the new opam images from tezos/opam-repository
2018-07-06 18:18:41 +02:00
Benjamin Canou
8aec39d8bb
CI: use IPv4 in p2p tests
2018-07-06 18:05:10 +02:00
Benjamin Canou
9bc9768e17
Fix OPAM dependencies
2018-07-04 19:03:31 +02:00
Vincent Bernardoff
7f569b45fa
Signer/Encrypted: typos
2018-07-04 09:47:25 +02:00
Vincent Bernardoff
a0f5cb09db
Signer/Encrypted: add test
2018-07-04 09:47:25 +02:00
Vincent Bernardoff
ea78c9b6d6
Signer/Ledger: major > 1 also supports P256
2018-07-03 14:55:28 +00:00
Pierre Chambart
8581264d11
Tests: add a Michelson guestbook test contract
2018-07-03 15:30:28 +02:00
Benjamin Canou
c3c4e3d5a8
Tests: fix injection test after headers update
2018-07-03 15:26:10 +02:00
b
322710c56c
Update wrong licenses
2018-07-03 12:04:24 +02:00
Benjamin Canou
74732d7711
Sync with betanet
2018-07-02 10:53:20 +02:00
Benjamin Canou
6c00f64dfb
Proto Genesis's hash is its actual hash
2018-06-30 18:56:30 +02:00
Benjamin Canou
252435d280
Proto Alpha's hash is its actual hash
2018-06-30 18:56:30 +02:00
Benjamin Canou
12b72c9a0b
Set Betanet activation key
2018-06-30 18:46:23 +02:00
Pierre Boutillier
140bd6b1ca
Tezos is now Open Source
2018-06-30 17:41:32 +02:00
Benjamin Canou
712f972a10
Update initial nonces
2018-06-30 15:48:01 +02:00
Benjamin Canou
6cf03d0f6b
Client: select commands depending on the network
2018-06-30 15:01:22 +02:00
Vincent Bernardoff
99e5cd3186
Client: do not expose insecure functions (betanet)
2018-06-30 14:28:11 +02:00
Vincent Bernardoff
e92e1aee17
Signer/Encrypted: use custom Base58Check prefixes
2018-06-30 14:28:11 +02:00
Vincent Bernardoff
dee9c470fd
Crypto: more compact Secretbox representation
2018-06-30 14:28:11 +02:00