David Núñez
bd44c7d65f
WorkItem is now Task, and it also handles the output of re-encryption
2019-03-29 10:52:14 +01:00
David Núñez
e1d8362260
New re-encryption metadata format ( #259 )
2019-03-29 10:52:04 +01:00
David Núñez
3637d75805
Remove checks that are now implicitly done by WorkOrder.from_rest_payload
2019-03-29 10:46:52 +01:00
David Núñez
e1d5780692
Ursula deserializes the WorkOrder, checking the receipt and each capsule
2019-03-29 10:46:52 +01:00
David Núñez
2376b24c52
Full revamp of WorkOrder
...
* Instead of a list of capsules, WorkOrder now has a list of WorkItems (each of them includes a capsule)
* Each capsule is signed together with Ursula's pubkey, Alice's address and a recent blockhash.
* Only the blockhash is stored in the WorkOrder, since Alice's address and Ursula's pubkey are known by Ursula
2019-03-29 10:46:52 +01:00
David Núñez
f698f6361d
Introduces WorkItem, a helper class inside WorkOrder to handle capsules and item signatures
2019-03-29 10:46:52 +01:00
David Núñez
b8a5fc25eb
Clarify evolution of penalty amount in test_mining_adjudicator
2019-03-29 10:46:52 +01:00
David Núñez
be9901f746
Change validation of precomputed EC multiplication to require()
2019-03-29 10:46:52 +01:00
David Núñez
ef75e241df
Tests Bob sending wrong precomputed values. Improves test_mining_adjudicator
2019-03-29 10:46:52 +01:00
David Núñez
581a36759d
Constants in ReEncryptionValidator ( Fixes #749 )
2019-03-29 10:46:52 +01:00
David Núñez
b6f02ec9db
Mark ReEncryptionValidator methods as internal instead of public
...
TIL that solc leaves placeholders in the bytecode with format __$...$__ when using libraries (with non-internal methods)
https://solidity.readthedocs.io/en/v0.5.3/using-the-compiler.html#using-the-commandline-compiler
2019-03-29 10:46:52 +01:00
David Núñez
21da4ce133
Emit CFragEvaluated just after validation, in case tx fails when slashing
2019-03-29 10:46:52 +01:00
David Núñez
0cea55e7b8
Remove Numerology and leave only used methods within ReEncryptionValidator
2019-03-29 10:46:52 +01:00
David Núñez
d1b8fd763a
Move re-encryption validation logic to its own contract ( Fixes #643 )
2019-03-29 10:46:52 +01:00
Damon C
513558aa42
whitespace
2019-03-28 16:10:47 -07:00
Damon C
5188a647f0
update scripts
2019-03-28 16:06:16 -07:00
Damon C
b4d95c9307
ports
2019-03-28 15:47:13 -07:00
Damon C
655eb3a2cc
reworked docker layout
2019-03-28 15:41:45 -07:00
Damon C
7584aea141
more efficient dockerfile
2019-03-28 12:45:08 -07:00
MacLane Wilkison
1b74b145bc
Update dev/docker/README.md
...
Co-Authored-By: vepkenez <gdamon@gmail.com>
2019-03-28 12:45:07 -07:00
Damon C
8e1c72613e
apt -> apt-get
2019-03-28 12:45:07 -07:00
Damon C
29bc481d3b
newline fixes
2019-03-28 12:45:07 -07:00
damon c
f3204fd8f2
Delete Dockerfile-pg
2019-03-28 12:45:07 -07:00
Damon C
3e1c28c0f4
typos, README
2019-03-28 12:45:07 -07:00
Damon C
e70d781ccb
initial docker development setup
2019-03-28 12:45:07 -07:00
David Núñez
52a4aaffbd
Merge pull request #890 from KPrasch/master
...
Bump version: 0.1.0-alpha.20 → 0.1.0-alpha.21
2019-03-27 21:32:44 +01:00
Kieran Prasch
05b7c129ca
Bump version: 0.1.0-alpha.20 → 0.1.0-alpha.21
2019-03-27 12:48:51 -07:00
K Prasch
79a54f4f38
Merge pull request #812 from KPrasch/felix
...
Felix Distribution Mechanism
2019-03-27 08:57:13 -07:00
David Núñez
04cf46ade5
Merge pull request #806 from szotov/slashing-docs
...
Draft of docs for slashing
2019-03-27 11:49:01 +01:00
David Núñez
10c89e6ffe
Include aafigure package in Pipfile, setup.py and docs
2019-03-27 11:05:15 +01:00
Kieran Prasch
d71d76beb3
Respond to RFCs in PR #812
2019-03-26 12:27:30 -07:00
David Núñez
37445b2982
Update nucypher/config/characters.py and nucypher/characters/chaotic.py
...
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2019-03-26 11:36:04 -07:00
Kieran Prasch
2fbda80d38
Small fixes for web3==5.0.0a8
2019-03-26 11:35:57 -07:00
Kieran Prasch
fbb04559f5
Update and re-lock deps
2019-03-26 11:35:57 -07:00
Kieran Prasch
b0eb41e5ea
Twisted clock testing for the faucet
2019-03-26 11:35:57 -07:00
Kieran Prasch
06311630d2
Patch distribution interval in faucet testing
2019-03-26 11:35:57 -07:00
Kieran Prasch
87ba9c7b42
Beter exception handling for missing address when running from config ; Reprs for db models
2019-03-26 11:35:57 -07:00
Kieran Prasch
33ad09d418
Database threading and request rate limiting for Felix
2019-03-26 11:35:57 -07:00
Kieran Prasch
5861fed5f1
Prevent faucet registration with reserved instances
2019-03-26 11:35:57 -07:00
Kieran Prasch
295ca74e12
Faucet subclasses TokenActor, implements NU class.
2019-03-26 11:35:57 -07:00
Kieran Prasch
77ea97d627
Issue tagging existing TODOs
2019-03-26 11:35:57 -07:00
Kieran Prasch
d879684580
Relocking requirements with flask_sqlalchemy plus updates.
2019-03-26 11:35:57 -07:00
Kieran Prasch
052c7346b0
deploy contracts via CLI in Felix tests
2019-03-26 11:35:57 -07:00
Kieran Prasch
40b9b204ac
Setting flask secret; Improved documentation and logging; Utilize constant_sorrow
2019-03-26 11:35:57 -07:00
Kieran Prasch
5686a8a889
Felix CLI entry point adjustments; Allow provider URI restoration from File
2019-03-26 11:35:57 -07:00
Kieran Prasch
e833a8b596
Formulating the distribution strategy, more formalized Felix internals
2019-03-26 11:35:57 -07:00
Kieran Prasch
2946024dec
Felix tests passing with database management
2019-03-26 11:35:57 -07:00
Kieran Prasch
04499cc99d
Stub distribution looping call
2019-03-26 11:35:57 -07:00
Kieran Prasch
3fbb5ef426
Felix database skeleton and registrtion view stubbing
2019-03-26 11:35:57 -07:00
Kieran Prasch
ce39f92555
Felix CLI itself and tests to suit.
2019-03-26 11:35:57 -07:00