Commit Graph

757 Commits

Author SHA1 Message Date
Raphaël Proust
1767fcc861 Proto: use return_*
for * in unit none some true false
2019-01-03 12:21:17 +00:00
Benjamin Canou
618082ed18 Client: cosmetic updates in voting commands 2019-01-03 10:23:15 +00:00
Marco Stronati
cacd3826e4 Client: tweak 'show voting period', add rpc to test, check right period 2019-01-03 10:23:15 +00:00
Marco Stronati
8016f83903 Client: cosmetic or minor improvements 2019-01-03 10:23:15 +00:00
Jun FURUSE
f8d8c4d6e9 Client: check that proposals are already injected 2019-01-03 10:23:15 +00:00
Jun FURUSE
e0a8718922 Client: add voting commands
tezos-client show votes  to show the current voting status
tezos-client submit proposals for PKH PROP1 ..  to submit proposals
tezos-client submit ballot for PKH PROP yay|nay|pass  to submit a ballot
2019-01-03 10:23:15 +00:00
Eugen Zalinescu
febaa3b7ed voting: 3 new small tests 2019-01-02 17:07:34 +00:00
Sebastien Mondet
8772b23235 Make register key .. as delegate “idempotent” 2018-12-14 12:50:25 -05: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
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
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
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
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
Vincent Botbol
32d2bf606d
Baker: fix documentation typo 2018-11-21 14:45:12 +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
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