Commit Graph

6826 Commits (f5bc03e23536b6254c57a6eda1f40ea61c33e641)

Author SHA1 Message Date
derekpierre f5bc03e235 Ensure all event entries are checked during initialization 2020-07-14 16:11:05 -04:00
derekpierre 832d7f6fdc Ensure that CommitmentMade is checked for during initialization since the event could have already occurred for the period 2020-07-14 15:53:18 -04:00
K Prasch 32386e4b6f
Merge pull request #2117 from vzotova/stakeholder-fixes
Some fixes for `stake` commands
2020-07-14 10:45:00 -07:00
Victoria e717b6d030 Apply suggestions from code review #2117
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: K Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-07-14 12:04:35 +03:00
vzotova 073cbf345e Refactor sub-stake status and selecting sub-stake 2020-07-09 16:33:25 +03:00
vzotova 8f598f0df6 More integration tests for stake selection 2020-07-07 17:21:06 +03:00
vzotova 796f297e93 Refactor `StakeHolder.assimilate()`, now `StakeHolder` instances from configuration and from interactive mode are the same 2020-07-07 17:19:02 +03:00
K Prasch b3a9e6bb7b
Merge pull request #2097 from vzotova/mint-cli
`mint` command + minor updates for `collect-reward` in CLI
2020-06-27 09:59:58 -07:00
vzotova 2d0be22dec Apply suggestions from code review #2097
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
Co-authored-by: K Prasch <kieran@nucypher.com>
2020-06-27 19:36:51 +03:00
vzotova 6c68fba65c Small docs update for collecting reward
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-06-25 20:57:21 +03:00
vzotova 0e46140e8f Added `mint` command to CLI, added some warnings in `collecting-reward` command 2020-06-25 20:13:42 +03:00
vzotova 9897c0f93c Fix agent mocking: use instance to hold mocked method instead of class 2020-06-25 20:08:27 +03:00
K Prasch 394859c5b7
Merge pull request #2104 from derekpierre/setup-cleanup
Variety of cleanup work related to docs/cli output for setting up staker and worker
2020-06-25 10:01:36 -07:00
derekpierre 4d3cbe2799 Update the output in docs of `nucypher stake collect-reward` 2020-06-25 09:13:15 -04:00
derekpierre 99b21cecfa Maintain "policy fee" wording (vs "policy reward") 2020-06-25 09:13:15 -04:00
derekpierre 2d939e8f2d Update `nucypher stake divide` output to latest.
Fix bug in parameter passed to string template `PROMPT_STAKE_DIVIDE_VALUE`.
2020-06-25 09:13:15 -04:00
derekpierre 8f76236c69 Variety of cleanup work related to setting up a staker and worker on the network. 2020-06-25 09:13:15 -04:00
David Núñez 02e734fc89
Merge pull request #2025 from vzotova/staker-updates
Updates for staker in StakingEscrow
2020-06-23 17:38:32 +02:00
vzotova 0eecc1296e Apply suggestions from code review #2025
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-06-23 11:15:02 +03:00
vzotova e90a27c8c3 StakingEscrow: new method to merge two sub-stakes into one 2020-06-23 11:15:02 +03:00
vzotova a55f462902 StakingEscrow: add way to stake tokens to already existing sub-stake, including < minimum allowed 2020-06-23 11:15:02 +03:00
vzotova 3caa46f367 StakingEscrow: removed messages from require and removed one deposit function to decrease contract size 2020-06-23 11:15:01 +03:00
vzotova 54297be311 StakingEscrow: extract getLockedTokensInPast method to test set 2020-06-23 11:15:01 +03:00
vzotova 0c9d4bc9e3 StakingEscrow: unbond worker when withdrawing last portion of NU 2020-06-23 11:15:01 +03:00
vzotova 8f19161920 StakingEscrow: now staker is not only who has tokens but also who has not-rewarded periods 2020-06-23 11:15:00 +03:00
K Prasch 523ea089f4
Merge pull request #2098 from KPrasch/enrico
Simple Enrico file encryption
2020-06-21 07:42:38 -07:00
Kieran R. Prasch c02bf21e45 Respond to RFCs in PR #2098 2020-06-20 15:08:54 -07:00
K Prasch fc3dd8d503
Merge pull request #2101 from vepkenez/fix-grant-and-retrieve
Correct usage of TxReceipt.data during grant
2020-06-19 09:03:49 -07:00
damon c af0f8f527b
Update nucypher/blockchain/eth/clients.py
Co-authored-by: David Núñez <david@nucypher.com>
2020-06-19 08:43:17 -07:00
damon 0c8a9c3c5f TODOs 2020-06-19 04:43:16 -07:00
damon 7725859467 differentiate ethtester client 2020-06-19 04:15:42 -07:00
damon 4d16921915 different eth clients, different methods 2020-06-18 12:21:46 -07:00
K Prasch 202e502ad4
Merge pull request #2100 from derekpierre/prometheus-dependency
Ensure that prometheus imports are locally scoped
2020-06-18 09:41:20 -07:00
K Prasch 9e4411cc00 Respond to RFCs in PR #2098; Apply suggestions from code review
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-06-18 08:55:53 -07:00
Kieran Prasch 5909c37dd1 Apply API and interface updates to for enrico file handling. 2020-06-18 08:55:21 -07:00
damon 1409bb2a61
more test fixes message->plaintext 2020-06-17 11:33:24 -07:00
damon 6d79d8db7b test fixes resulting from change in keys 2020-06-17 11:31:48 -07:00
derekpierre 03ce710e48 Provide guidance for missing prometheus_client package. 2020-06-17 14:15:36 -04:00
derekpierre 4dce1fccd0 Ensure that prometheus imports are locally scoped since the package is optional. 2020-06-17 12:28:36 -04:00
damon 9d65b242e8 message -> plaintext 2020-06-17 00:08:48 -07:00
Kieran R. Prasch 26dd34e359 Handle enrico upload message kit to IPFS. 2020-06-16 21:00:42 -07:00
Kieran R. Prasch 28567b7561 Use a signature field for enrico and represent as base64 2020-06-16 21:00:42 -07:00
damon a71ecc8454 always pass bytes to encrypt message 2020-06-16 21:00:42 -07:00
damon 87afcfb839 use filefield to validate file input, format encrypt message to enrico 2020-06-16 21:00:42 -07:00
Kieran Prasch 4b1335109a Enrico needs to consume files. 2020-06-16 21:00:42 -07:00
K Prasch f4b64fc365
Merge pull request #2069 from derekpierre/metrics-iteration
Initial Refactor of ursula prometheus metrics work from #1923
2020-06-15 09:36:44 -07:00
David Núñez fcfbe4196f
Bump version: 2.1.0-beta.11 → 2.1.0-beta.12 2020-06-15 02:28:27 +02:00
David Núñez 72619fd321
Merge pull request #2094 from cygnusv/master
Documentation of process for new releases
2020-06-15 02:20:05 +02:00
David Núñez 8825c9d8b0 News fragment for updated guide for releases 2020-06-15 02:03:22 +02:00
David Núñez 45411704b7 Add mention to git commit signing in the guide for new releases 2020-06-15 01:55:00 +02:00