- Dec 22, 2017
-
-
- Dec 21, 2017
-
-
Yurii Rashkovskii authored
Firstly, `Step.duration_remaining` casts it to u32, unnecesarily limiting it to 2^32. While theoretically this is "good enough" (at 3 seconds steps it provides room for a little over 400 years), it is still a lossy way to calculate the remaining time until the next step. Secondly, step duration might be zero, triggering division by zero in `Step.calibrate` Solution: rework the code around the fact that duration is typically in single digits and never grows, hence, it can be represented by a much narrower range (u16) and this highlights the fact that multiplying u64 by u16 will only result in an overflow in even further future, at which point we should panic informatively (if anybody's still around) Similarly, panic when it is detected that incrementing the step counter wrapped around on the overflow of usize. As for the division by zero, prevent it by making zero an invalid value for step duration. This will make AuRa log the constraint mismatch and panic (after all, what purpose would zero step duration serve? it makes no sense within the definition of the protocol, as finality can only be achieved as per the specification if messages are received within the step duration, which would violate the speed of light and other physical laws in this case).
-
- Dec 15, 2017
-
-
asynchronous rob authored
* detect different node, same-key signing in aura * reduce scope of warning
-
- Dec 08, 2017
-
-
* reduce max block timestamp drift to 15 seconds * add test for block timestamp validation within allowed drift
-
- Dec 07, 2017
-
-
asynchronous rob authored
* Fix Aura difficulty race * fix test key * extract out score calculation * fix build
-
- Dec 06, 2017
-
-
Ellaismer authored
-
- Dec 05, 2017
-
-
Takehiro Miyao authored
-
* Enable delayed maximum_uncle_count activation. * Fix tests. * Defer kovan HF.
-
- Dec 01, 2017
-
-
Takehiro Miyao authored
-
- Nov 24, 2017
- Nov 16, 2017
- Nov 10, 2017
-
-
asynchronous rob authored
-
- Nov 09, 2017
-
-
keorn authored
-
- Nov 07, 2017
-
-
Arkadiy Paronyan authored
-
- Nov 03, 2017
-
-
* Allow to include all queue transactions in pending block. * Fix tests.
-
- Nov 02, 2017
-
-
-
* Action params and embedded params handling * fix namespaces
-
- Nov 01, 2017
-
-
-
* Nonce future - reserve and dispatch * Single thread nonce tests * Track status of reserved nonces. * Initialization of nonce reservations. * Prospective Signer * Fix cli tests.
-
- Oct 25, 2017
-
-
* Refactor static context check in CREATE. * Fix wasm.
-
- Oct 24, 2017
-
-
ddorgan authored
-
* Fix serialization of non-localized transactions. * Return proper SignedTransactions representation.
-
asynchronous rob authored
- Oct 23, 2017
-
-
Tomasz Drwięga authored
-
- Oct 20, 2017
-
-
Arkadiy Paronyan authored
-
Tomasz Drwięga authored
-
- Oct 17, 2017
-
-
Dmitry Kashitsyn authored
-
Tomasz Drwięga authored
-
Dmitry Kashitsyn authored
-
- Oct 16, 2017
-
-
Marek Kotewicz authored
-
Marek Kotewicz authored
-
Marek Kotewicz authored
-
Arkadiy Paronyan authored
* Fixed comment warnings * Fixed remaining warnings
-
Marek Kotewicz authored
-
-
* updated ethabi to version 4.0 * ethabi 4.0.1
-
- Oct 15, 2017
-
-
Dmitry Kashitsyn authored
-