Commit Graph

6015 Commits (a0368606b08a8dc94d88f780602238c88f0b471d)

Author SHA1 Message Date
Kieran R. Prasch 3f3386d360 Allow for forcible blockchain interface registration for tests. 2020-02-19 20:53:39 -07:00
derekpierre b862db20db Add FAQ item about checking `nucypher status stakers` settings
General cleanup
2020-02-19 17:02:03 -05:00
K Prasch 64a94fd73f
Merge pull request #1686 from fjarri/alice-config-groups
Extract options used only by alice-init and alice-config in a separate option group
2020-02-19 14:04:29 -07:00
derekpierre 19bff9cf59 Updates to FAQ and Troubleshooting docs. 2020-02-19 15:39:57 -05:00
K Prasch 83953d4c0f
Merge pull request #1716 from derekpierre/worklock-notice
Clean Up WorkLock Terms
2020-02-19 13:04:53 -07:00
Tux f4cdfcd251
Merge pull request #1715 from jMyles/todo-party
Todo party
2020-02-19 20:57:46 +01:00
Justin Holmes 1533beed3d
Merge pull request #1695 from jMyles/sinpa
Sorry Alice, your credit is strained far too thin.
2020-02-19 10:02:31 -07:00
derekpierre 6c426655c0 Justify text in WorkLock terms, and edit statement about servicing re-encryption work orders.
Ensure WorkLock capitalization is done for all text.
2020-02-19 10:26:28 -05:00
jMyles 4335ab9876 TODO party hijincks. 2020-02-19 01:18:19 -07:00
jMyles d3ff44a998 Hand-waving away all of our problems. 2020-02-18 15:35:08 -07:00
David Núñez a51f675fda Add `nucypher stake events` to show events associated to this staker 2020-02-18 13:49:56 +01:00
David Núñez ea0f1d10a3 Incorporate Seeder as a first-class citizen of the NuCypher contracts 2020-02-18 12:25:26 +01:00
David Núñez 53bc713710 Some touches to EventRecord and `nucypher status events` 2020-02-18 12:09:45 +01:00
David Núñez faacd232ce Events class is renamed and moved to new module. New EventRecord class 2020-02-18 12:08:49 +01:00
David Núñez 006a85e294 Revamp the Events manager class
* Fix __getitem__; I was using 'yield' wrong
* Implement __getattr__ and __iter__
* Extract some common logic
2020-02-18 12:08:49 +01:00
David Núñez 0998ccac74 Initial take on `nucypher status events`. By default, it shows all events for current period, for StakingEscrow and PolicyManager 2020-02-18 12:08:49 +01:00
David Núñez c09a7a3bab Move option --contract-name to nucypher.cli.options 2020-02-18 12:08:49 +01:00
David Núñez b908c75a69 Add a method to ContractAgency to obtain agents from contract name 2020-02-18 12:08:49 +01:00
David Núñez 1044d6eaf3 Events class to facilitate even more using events and filters
Example of usage:
staking_agent.events.Deposited(staker='0xF00BAR') produces a generator for all Deposited events for that staker
2020-02-18 12:08:49 +01:00
David Núñez 8e800171b3 First pass at an interactive CLI tool for interacting with agents
TODO: Find a better location for this script?
2020-02-18 12:08:49 +01:00
jMyles b1100405f3 Spelling corrections pointed out in RFCs. 2020-02-17 23:45:39 -07:00
jMyles e7c953c28f After split, explicity show the kfrag_bytes from the cleartext. 2020-02-17 23:41:42 -07:00
MacLane S Wilkison b1c0fb9ca6
Merge pull request #1706 from cygnusv/deploy
Update registry with Cassandra WorkLock
2020-02-17 23:51:50 +00:00
David Núñez 4b58f5add2 Update registry with Cassandra WorkLock. Includes minor fix in deployment 2020-02-17 22:47:54 +01:00
David Núñez f530198f7e
Merge pull request #1703 from cygnusv/deploy
Updated registry with new StakingEscrow deployed with test_mode=True
2020-02-17 11:03:37 +00:00
David Núñez c94f90534d Updated registry with new StakingEscrow deployed with test_mode=True 2020-02-17 11:49:05 +01:00
David Núñez 5f291a9cf6
Merge pull request #1692 from tuxxy/give-prisoners-e2ee
Merge the registries repo into the monolith
2020-02-17 10:18:18 +00:00
Tux 72c8bef885
Remove unused import
Co-Authored-By: David Núñez <david@nucypher.com>
2020-02-17 08:35:21 +01:00
jMyles 0a1d2a5282 Compatibility with changes to middleware and side channel fixture. 2020-02-16 18:42:09 -07:00
jMyles 14653fb7bb Fixing up NotFound arguments; Bob had been broken by this change. 2020-02-16 17:50:55 -07:00
jMyles 18ce406bce Pushing arrangement query down to new agent methods. 2020-02-16 17:47:25 -07:00
jMyles 27e1729854 More detail in suspicious activity report. 2020-02-16 17:47:04 -07:00
jMyles b8b3e94960 Adding methods at the agent level for policy and arrangements retrieval from a transacton ID. 2020-02-16 17:46:35 -07:00
jMyles dbcbc26cba Test showing that paying the wrong nodes results in Ursula noticing and refusing to service the Policy. 2020-02-16 16:33:15 -07:00
jMyles 4611263e38 Check to ensure this this_node is among those arranged. See #121. 2020-02-16 16:32:27 -07:00
jMyles 4714570b5e Amonia's logic for paying flunkies instead of the arranged Ursulas. 2020-02-16 16:26:08 -07:00
jMyles c7906782d4 Adding freeriders as a category of suspicious activity. 2020-02-16 16:25:29 -07:00
jMyles 4d8c6b989c Moving the mock enact to a staticmethod for reuse. 2020-02-16 12:35:19 -07:00
jMyles e7e26c5cc3 Moving freeriding attacks to their own module. 2020-02-16 12:29:10 -07:00
jMyles ed56c78d74 Test showing the 'safeguards removed' variant of trying not to pay. 2020-02-16 11:06:10 -07:00
jMyles 95df24ffab New open issues, new TODOs. 2020-02-16 11:05:54 -07:00
jMyles cd1410ba3d NotFound is intended only for 404 status. 2020-02-16 11:05:24 -07:00
jMyles ccc9a2ce74 Mock enact and remove safeguards to show trying that Amonia can't grant without paying even with no client-side arrangement tabulation. 2020-02-16 11:04:03 -07:00
jMyles e4e4db64e9 Let's start sharpening some other attacks here. 2020-02-15 19:47:32 -07:00
jMyles 624242d791 Don't need capsule side channel here anymore. 2020-02-15 19:47:09 -07:00
jMyles 0b71fe8e4d Quick and dirty arrangement response tabulation. 2020-02-15 19:46:57 -07:00
jMyles 227f82823b Composing status onto Arrangement for later tabulation. 2020-02-15 19:45:48 -07:00
jMyles 7ca44a9f61 Will we always get TimeExhausted here if the tx doesn't exist? 2020-02-15 19:40:34 -07:00
jMyles 6b530ee1a1 Yeah, probably time to just return the response from middleware when using enact_policy(). 2020-02-15 19:40:09 -07:00
jMyles cf07c3add6 Why wasn't blockchain side channel always compatible with the federated one? 2020-02-15 17:58:48 -07:00