Commit Graph

8340 Commits (2daa9b499d7a001d2803622010fdfcfb0edbf4b6)

Author SHA1 Message Date
David Núñez 6df342fe4a If the tracker is up-to-date with commitments, forget pending TXs 2020-12-25 01:51:16 +01:00
David Núñez f2818bb5f0 Log test actions to facilitate debugging the worker test 2020-12-25 01:51:16 +01:00
David Núñez 5509e72437 Forget pending commitment TXs if we're starting a new period 2020-12-25 01:51:16 +01:00
David Núñez 590f269ee1 Add section about gas strategies and gas price limit in the FAQs 2020-12-25 01:51:16 +01:00
David Núñez 49305ec4e9 Log detection of new period in WorkTracker 2020-12-25 01:51:16 +01:00
David Núñez d9a3510521 Use the datafeed median strategy when using Infura, instead of the fallback
This is more resilient agains sporadic problems with one of them. Closes #2420
2020-12-25 01:51:15 +01:00
David Núñez 489e7e6c70 Use the 3 gas price datafeeds we have to build a median-based strategy 2020-12-25 01:51:15 +01:00
David Núñez 356cc1ad4a Include the Zoltu gas price oracle in the datafeed fallback strategy 2020-12-25 01:51:15 +01:00
David Núñez 659c8db947 Added gas price data feed from gas-oracle.zoltu.io 2020-12-25 01:51:15 +01:00
David Núñez 5500de9a59 Use the new max price wrapper on current gas strategies 2020-12-25 01:51:15 +01:00
David Núñez a6a089f76f Introduce a max price gas strategy wrapper that caps the price of any strategy
Controlled by the NUCYPHER_MAX_GAS_PRICE_GWEI envvar
2020-12-25 01:51:15 +01:00
David Núñez bdcd1b4a11 Newsfragment for PR 2445 2020-12-25 01:51:15 +01:00
David Núñez 63d11b975a Temporary restriction for users in gas strategy name. See #2447
Even though in this PR we have built mechanisms to give more flexibility, let's restrict them for the moment until we're sure it will be supported everywhere
2020-12-25 01:51:15 +01:00
David Núñez 8738802d8b Fix wrong sender balance when handling transaction exceptions 2020-12-25 01:51:15 +01:00
David Núñez 0c3b9c2742 Use canonical speed names internally in gas price datafeeds 2020-12-25 01:51:15 +01:00
David Núñez 6e83b0ffe1 Prioritize Upvest gas price datafeed 2020-12-25 01:51:15 +01:00
David Núñez a56ce5151d Construct the datafeed gas strategy based on the speed name 2020-12-25 01:51:15 +01:00
David Núñez 71ad8c2c31 Introduce equivalence classes for gas speed names 2020-12-25 01:50:43 +01:00
K Prasch 1b5de0a266
Merge pull request #2475 from vepkenez/cloud-fixers
Cloudworkers: bugfixes, better cleaner envvar support
2020-12-22 13:44:08 -08:00
K Prasch 01ffaa17c2
Merge pull request #2244 from fjarri/simplify-retrieve
Simplify Bob.retrieve()
2020-12-21 14:01:17 -08:00
damon cda93e72aa cloudworkers: improved docs 2020-12-20 16:57:14 -08:00
damon 479b9793b9 cloudworkers: use constants for envvar names 2020-12-20 16:56:31 -08:00
damon f7c3d3527b replace os.path.joins with Pathlib.joinpath 2020-12-20 16:21:48 -08:00
damon 560d41ac0f cloudworkers add: use supplied nickname as is 2020-12-20 16:07:16 -08:00
damon 92ea9846f0 raise exception on conditions resulting in empty inventory 2020-12-20 16:07:16 -08:00
damon 02eb38d5a8 make ansible playbooks root relative 2020-12-20 16:07:16 -08:00
damon 04adc9766c adds newsfragment 2020-12-20 16:07:16 -08:00
damon a41429630a per node envvars: fixes https://github.com/nucypher/nucypher/issues/2472 2020-12-20 16:07:16 -08:00
damon 1dbe6a22b1 fix cli args https://github.com/nucypher/nucypher/issues/2473 2020-12-20 16:07:16 -08:00
K Prasch 5d249137fe
Merge pull request #2483 from fjarri/temporary-db
Prevent Vladimir from creating a ":memory:" directory
2020-12-18 18:09:24 -08:00
Bogdan Opanchuk 6aff3f33c1 Add dummy newsfragment 2020-12-18 16:10:03 -08:00
Bogdan Opanchuk dde1a93991 Prevent Vladimir from littering 2020-12-18 16:09:45 -08:00
Bogdan Opanchuk 046a22f791 Make ensure_correct_sender() a method of PolicyMessageKit 2020-12-18 15:19:44 -08:00
Bogdan Opanchuk 61253968fc Simplify the reencryption loop 2020-12-18 15:19:43 -08:00
K Prasch 62ade702c9
Merge pull request #2474 from KPrasch/hello-operator
Pretty worker & staker console messages
2020-12-18 10:15:01 -08:00
K Prasch 0d7af8bd60
Apply suggestions from code review
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-12-18 09:49:52 -08:00
Kieran Prasch 5810134a8f newsfragment for PR #2474 2020-12-17 17:07:33 -08:00
David Núñez 732845da65
Merge pull request #2476 from cygnusv/tidy
Pull Request template
2020-12-18 01:48:53 +01:00
David Núñez e12dc4bc16 Remove question on product dev alignment. Invite to link other PRs and issues 2020-12-18 01:42:25 +01:00
David Núñez 5f93a3ae59 Skip card unit tests until qrcode module is added as dependency in 2440 2020-12-17 23:30:51 +01:00
David Núñez bf8be24435 Iterate on the PR template based on team's feedback 2020-12-16 01:56:22 +01:00
David Núñez 3face628d8 Newsfragment for PR#2476 2020-12-16 01:29:36 +01:00
Bogdan Opanchuk fb55fd349a Group completed work orders by capsule in work_orders_for_capsules() 2020-12-15 14:04:52 -08:00
Bogdan Opanchuk af7e9701bf Fix multiple calls to work_orders_for_capsules() in a loop with the same arguments 2020-12-15 14:04:52 -08:00
Bogdan Opanchuk 6842c45101 Extract sanity checks from retreive() to a separate function 2020-12-15 14:04:52 -08:00
Bogdan Opanchuk 4dc855c111 Simplify the flow in retreive() 2020-12-15 14:04:52 -08:00
Bogdan Opanchuk 08c7f83548 Remove an unnecessary alternative of passing a treasure map via map_id
Every time it happens the actual map object is also available.
2020-12-15 14:04:32 -08:00
Bogdan Opanchuk 60c0f4412f Turn `construct_hrac_and_map_id()` into `construct_map_id()` (hrac is not used anywhere) 2020-12-15 13:36:20 -08:00
Bogdan Opanchuk 5d477f6783 Add a dummy newsfragment 2020-12-15 13:36:20 -08:00
David Núñez 1a005dfc81
Merge pull request #2468 from KPrasch/baeto
Deprecation: Managed client syncing and Stale interface methods
2020-12-15 12:33:03 +01:00