Commit Graph

5759 Commits (6b530ee1a19a97765960195946edb9ea7435996b)

Author SHA1 Message Date
David Núñez de0ced9518 Fix problems with bidder initialization in WorkLock CLI 2020-02-13 11:19:55 -07:00
David Núñez 5c781f31a1 Fail better in the CLI when using the ChecksumAddress type
Also, clarify that account selection prompt is based on index
2020-02-13 11:19:55 -07:00
David Núñez 1a1d7f5289 Fix account selection problems in `nucypher worklock` and successful claim output 2020-02-13 11:19:55 -07:00
David Núñez 232a171506 Skeleton for WorkLock guide 2020-02-13 11:19:55 -07:00
David Núñez 80ff08a50f Revamp `nucypher worklock` and make bidding and cancelation operational 2020-02-13 11:19:14 -07:00
David Núñez c7319ef862 Touches to Worklock bidding notice 2020-02-13 11:19:14 -07:00
David Núñez 9662735586 Enable TransactingPower in Bidder actor 2020-02-13 11:19:14 -07:00
David Núñez e7b15c3d95 Don't use emitter.message() unless you want to print to the logs too. 2020-02-13 11:19:14 -07:00
David Núñez 14913879ad Missing CLI entry point for `nucypher worklock` 2020-02-13 11:19:14 -07:00
David Núñez c42727656b Remove some redundant steps of node storage and config 2020-02-13 11:19:14 -07:00
David Núñez 0c5cb1f527 Allow to cache ETH password on Alice, e.g., for an automated Alice 2020-02-13 11:19:14 -07:00
David Núñez 12192c63e9 Missing TODOs 2020-02-13 11:19:14 -07:00
David Núñez 93eae3e248 Utility function to print ether amounts in a more pleasant way 2020-02-13 11:19:14 -07:00
K Prasch 8cbaeba4d8
Merge pull request #1679 from cygnusv/master
Updated in-package registry with fix for PolicyManager (#1672)
2020-02-13 11:09:12 -07:00
David Núñez 35cf62407b Updated registry with fix for PolicyManager (#1672) 2020-02-13 15:59:54 +01:00
David Núñez f5816de34b
Merge pull request #1672 from vzotova/fix-1671
Fixes bug in PolicyManager #1671
2020-02-13 14:08:04 +00:00
vzotova e010b70693 Apply suggestions from code review #1672
Co-Authored-By: David Núñez <david@nucypher.com>
2020-02-13 13:21:42 +03:00
K Prasch b63346716e
Merge pull request #1673 from wjdfx/master
Update staking_guide.rst
2020-02-12 11:02:53 -08:00
wjdfx 4f29224cb4
Update staking_guide.rst 2020-02-12 20:03:39 +08:00
vzotova 9aa49f57f0 Ignoring broken state in `PolicyManager.rewardState` with possibility to fix it later 2020-02-11 21:48:16 +03:00
vzotova b7098590e6 Reproduce scenario from #1671 2020-02-11 19:15:12 +03:00
vzotova c17653b535 Restrict checks in `PolicyManager.register()` and `PolicyManager.createPolicy()` to prevent inconsistent state 2020-02-11 17:17:35 +03:00
damon c d389e075e3
Merge pull request #1330 from nucypher/birdcage
[EPIC] Birdcage: A PR for people who want to pretend to like Bob.
2020-02-10 15:34:46 -08:00
Kieran R. Prasch e6b6ee8bd8 Respond to RFCs in PR #1330 2020-02-10 14:01:35 -08:00
David Núñez 4b24fecba0 Randomize order of generated WorkOrders (Fixes #245) 2020-02-10 14:01:28 -08:00
jMyles 90a3c26298 Finishing the layup for which @michwill set me up vis a vis TreasureMaps being passed through Bob's controller. 2020-02-10 13:09:15 -08:00
jMyles 4f8e266bf6 Use live message kit in spec test for forward compatibility. 2020-02-10 13:09:15 -08:00
jMyles be1809ef0b Update for new retrieve parameters. 2020-02-10 13:09:15 -08:00
jMyles f164382164 Use live TreasureMap in spec test for forward compatibility. 2020-02-10 13:09:15 -08:00
jMyles 40f329db1b Now that we're resetting the side channel in a fixture, each tests starts with the first message. 2020-02-10 13:09:15 -08:00
jMyles 6b6e07ec46 An empty or intentionally misleading TreasureMap warrants a more severe Exception than NotEnoughUrsulas: introducing TreasureMap.IsDisorienting 2020-02-10 13:09:15 -08:00
jMyles c33cce3972 Correcting orient() to deal with misleading TreasureMaps. 2020-02-10 13:09:15 -08:00
jMyles 9bb7ed91f3 TreasureMap can evaluate to False if its m value is 0 (obviously a bizzare state, but not impossible in our current logic). 2020-02-10 13:09:15 -08:00
jMyles fb2f03e307 Resetting side channel bewteen fixture runs so that message is unchanged. 2020-02-10 13:09:15 -08:00
jMyles 76e83cda50 Reducing scope of fixture. See: https://ptb.discordapp.com/channels/411401661714792449/411401661714792451/667904759956504577 2020-02-10 13:09:15 -08:00
jMyles 6490af67c8 Touch-ups around failing tests. 2020-02-10 13:09:15 -08:00
jMyles a7b9defb08 Casting and decoding str variant of TreasureMap in interface. All other changes are just code org. 2020-02-10 13:09:15 -08:00
jMyles 3ce055561d Test compatibility for unpacking message kits. 2020-02-10 13:09:15 -08:00
jMyles 498587dc9c Doing JIT verification now. 2020-02-10 13:09:15 -08:00
tuxxy 96aab3701f Add JSON serialization methods to 'PolicyCredential' 2020-02-10 13:09:15 -08:00
tuxxy 32a95ffd71 Add 'credential' method on 'Policy' w/ consistency tests 2020-02-10 13:09:15 -08:00
K Prasch 5f1e05616f
Merge pull request #1625 from KPrasch/mesa
CLI Tabulation and Staker UI
2020-02-10 12:42:29 -08:00
Kieran R. Prasch ec305be321 Respond to RFCs in PR #1625; Use '═' not '='. 2020-02-10 11:16:33 -08:00
Kieran R. Prasch 663a7b2b3c Example demonstrating a cli for encrypting directories with NuCypher. 2020-02-08 04:27:35 -08:00
Kieran R. Prasch 9296d1db83 Forging a new example: encrypt a directory for a single policy and label. 2020-02-08 04:27:35 -08:00
Michael Egorov 4f47680d3b Relock dependencies. Remove XXX comment and install_egg_info. 2020-02-08 04:27:34 -08:00
Michael Egorov 16ad56c934 Fix merge conflicts 2020-02-08 04:27:34 -08:00
Michael Egorov 499ca64b14 Type hints for TreasureMap 2020-02-08 04:27:34 -08:00
Michael Egorov 99681680d6 Check text returned by federated_bob.retrieve 2020-02-08 04:27:34 -08:00
Michael Egorov 0bb8d74636 Treasure map passed in controllers 2020-02-08 04:27:34 -08:00