Commit Graph

4163 Commits (88c6cbbcd64a4dfbfd9cf258caf15d8f7d6d0e2d)

Author SHA1 Message Date
David Núñez 8b446a904b Change "by" to "from" in getWorkerByStaker and getStakerByWorker 2019-07-04 11:22:39 +02:00
David Núñez 09ac916319 Ursula character is not a Staker anymore, but a Worker 2019-07-04 11:22:39 +02:00
David Núñez 54d12b8827 Ursula.rest_information()[0] --> Ursula.rest_interface() 2019-07-04 11:22:39 +02:00
David Núñez 357ff2a7cd Stakers will need their own test ETH accounts, different than Ursulas' 2019-07-04 11:22:39 +02:00
David Núñez dd23408ca7 Simplify StakingEscrow.confirmActivity(): only direct calls from Worker 2019-07-04 11:22:39 +02:00
David Núñez 1387683e35 First stub of Worker class, extracted from Staker 2019-07-04 11:22:39 +02:00
David Núñez de73bc020d Staker doesn't confirm activity anymore 2019-07-04 11:22:39 +02:00
David Núñez da8fd0c3de Missing renamings to "worker" and "staker" in agents.py 2019-07-04 11:22:39 +02:00
Kieran Prasch b98dfb9986 Respond to RFCs in PR #1066; Docstrings and annotations for Baseconfiguration. 2019-07-04 11:22:39 +02:00
Kieran Prasch 66b0e25165 Robust tests for BaseConfiguration API; Second layer for character configurations; Return of ABC. 2019-07-04 11:22:39 +02:00
Kieran Prasch 97eabc8dee delete obsolete files from the codebase 2019-07-04 11:22:39 +02:00
Kieran Prasch 09c8847c14 Dehydration and cleanup of keyring attachment and checksum address selection. Touch ups. 2019-07-04 11:22:39 +02:00
Kieran Prasch add336af3f Ensure that known_nodes passed into configs are retained for re-use 2019-07-04 11:22:38 +02:00
Kieran Prasch b7012f607f NodeConfiguration -> CharacterConfiguration 2019-07-04 11:22:38 +02:00
Kieran Prasch 568420a9c6 Refinine NodeConfiguration to handle only common parameters; Dehydration and reorg. Optimize character config production file I/O. 2019-07-04 11:22:38 +02:00
Kieran Prasch 65d1b7aa51 Allow contract registry to write to a globally default location (config root) despite using a custom configuration root at init time. 2019-07-04 11:22:38 +02:00
Kieran Prasch 4e8cdf27a9 Removing enode (for now) 2019-07-04 11:22:38 +02:00
Kieran Prasch 0565893be6 Accurately reflect destruction operations; Simplify usage; UrsulaConfiguration implements BaseConfiguration. 2019-07-04 11:22:38 +02:00
Kieran Prasch 4c4abec366 keyring_dir -> keyring_root; update registry default paths. 2019-07-04 11:22:38 +02:00
Kieran Prasch 656f224913 Removes GH registry publication code; Fixes #965- Remove registry publication from CLI tooling. 2019-07-04 11:22:38 +02:00
Kieran Prasch 5c50a4efad Ensure config_root is preserved on BaseConfiguration init. 2019-07-04 11:22:38 +02:00
Kieran Prasch 701c7b5f15 CharacterConfiguration subclasses implemnt BaseConfiguration class attrs; Reorganize tests.config 2019-07-04 11:22:38 +02:00
Kieran Prasch d888c60607 Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'. 2019-07-04 11:22:38 +02:00
Kieran Prasch ec7ba627e8 Refactors NodeConfiguration to implement BaseConfiguration; Removes stranger configuration support, Cleanup NodeConfiguration interfaces 2019-07-04 11:22:38 +02:00
Kieran Prasch 8fcdf8e2f4 Makes NuCypherKeyring disk write operations more lazy. 2019-07-04 11:22:38 +02:00
Kieran Prasch 3c949192f0 Introduces BaseConfiguration 2019-07-04 11:22:38 +02:00
David Núñez 9638dc86bf Fix name of StakingEscrowAgent. It was StakingEscrow 2019-07-04 11:22:38 +02:00
David Núñez b9dd215421 Fix test for emission of unknown LL version warnings. Closes #1039 2019-07-04 11:22:38 +02:00
David Núñez 9eee8e6c9d Removing some re-emerging garbage, probably from a rebase 2019-07-04 11:22:38 +02:00
David Núñez 398896d2ab Leftovers: Miner --> Staker, MiningAdjudicator --> Adjudicator, etc. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 877833aaf3 Understand Staker and Staking to be separate ideas. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 3a80eec247 Goodbye, Three Agents. Hello, Agency. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 5551ce950c MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test 2019-07-04 11:22:38 +02:00
szotov 8e85deec07 Apply suggestions from code review 2019-07-04 11:22:38 +02:00
szotov 33e97a9c2f miner->staker in tests and docs 2019-07-04 11:22:38 +02:00
szotov 821b0dcdbc Renamed miner-> staker in contracts 2019-07-04 11:22:38 +02:00
szotov fbe4493951 Changed restriction on miner<->worker relationship 2019-07-04 11:22:38 +02:00
szotov 69b21a2a85 Tests for worker events 2019-07-04 11:22:38 +02:00
szotov 73d6391672 Increase gas limit again 2019-07-04 11:22:38 +02:00
szotov f237389ca7 Tests for slashing worker 2019-07-04 11:22:38 +02:00
szotov 946ec2b2f1 Added way to slash intermediary contracts 2019-07-04 11:22:38 +02:00
szotov 0d7a356a27 Small changes in docs 2019-07-04 11:22:38 +02:00
szotov 8747177c5a Moved minimum worker periods to constructor 2019-07-04 11:22:38 +02:00
szotov 1a76d9984b Fixed agent tests 2019-07-04 11:22:38 +02:00
szotov 727a074503 Added test for setting worker 2019-07-04 11:22:38 +02:00
szotov b545e3ec9b Fixed small issues, added setWorker to UserEscrow 2019-07-04 11:22:38 +02:00
szotov 8bc89805ff Fix agents tests 2019-07-04 11:22:38 +02:00
szotov f850a42f58 Added worker role, excluded minting and activity confirmation from lock method 2019-07-04 11:22:38 +02:00
David Núñez a2cdafd500
Merge pull request #926 from nucypher/epic-schabowski
[EPIC] Schabowski: Fixes for bugs revealed by Coinlist, EthCapeTown, and EthNY hackathons
2019-07-04 11:15:57 +02:00
David Núñez a106af2e1c
Apply suggestions from code review 2019-07-04 11:15:20 +02:00