Commit Graph

7435 Commits (a8da514981eb491983442d66b465220c47b22f54)

Author SHA1 Message Date
jMyles a8da514981 Slightly more optimal not to check if we're done until we actually might be. 2020-08-31 14:02:42 -07:00
jMyles 670ac3b122 Better to just pass a tuple of nodes here; we don't need the living dict. 2020-08-31 13:48:48 -07:00
jMyles 4269150974 Using signal flag to check queue. Fixes #2190. 2020-08-31 12:41:44 -07:00
jMyles d1b2257797 This test actually performs better with random values - when every node takes the same amount of time to return, there's a much more likely chance of all of them returning at the same moment, and thus overshooting the mutex requirement for unblocking. 2020-08-31 10:10:43 -07:00
jMyles de266be0cf Resolving import conflicts with main. 2020-08-31 01:07:27 -07:00
jMyles f33e7717c8 Indeed, we don't really care if this Character has no checksum address. At least, yet. 2020-08-31 01:05:10 -07:00
jMyles 98ecd043cf Re-optimizing imports in lawful. 2020-08-31 01:04:21 -07:00
jMyles 1f99d7c22c Making testerchain optional, and unused for federated lifecycle test. 2020-08-31 01:01:10 -07:00
Justin Holmes 0ef89315b2
The small corrections by @cygnusv.
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-30 23:29:51 -07:00
MacLane S Wilkison 3297fc9d30
Merge pull request #2208 from nucypher/worklock-parameters
Worklock parameters; Mainnet Registry
2020-08-30 18:16:21 +00:00
mswilkison c042572d8a Add mainnet contract registry 2020-08-30 13:58:56 -04:00
mswilkison 1ea1338e4e Finalize WorkLock parameters 2020-08-30 12:54:46 -04:00
David Núñez 60ebeacd64
Merge pull request #2154 from cygnusv/mamma-mia
Improved gas price logic. Introduction of gas oracles
2020-08-28 18:13:43 +02:00
David Núñez 066fd8461d Renaming Oracles to Datafeeds 2020-08-28 18:00:19 +02:00
David Núñez 7d5646e2f5 Fixing wrong provider URI in an ursula test 2020-08-28 18:00:19 +02:00
David Núñez 920ae58bc3 Setting a free gas strategy in tests that create a new blockchain interface 2020-08-28 18:00:19 +02:00
David Núñez 6740697c72 Felix needs an explicit call for the gas price since it doesn't rely on web3 building the transaction 2020-08-28 18:00:19 +02:00
David Núñez caea0af82d Fix Multisig test, which only worked because gas strategies were being ignored 2020-08-28 18:00:19 +02:00
David Núñez 231c3c80f9 Better name for the EthereumClient method to get gas prices for transactions 2020-08-28 18:00:19 +02:00
David Núñez ab0369b56e Some touches to the Oracles module: relocate __repr__, improved reference to oracle exception, testing speed names
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-08-28 18:00:19 +02:00
David Núñez 342ac40e3e Testing Etherchain and Upvest oracle gas strategies 2020-08-28 18:00:19 +02:00
David Núñez b08f4236a5 Some missing twisted.logger.Logger imports 2020-08-28 18:00:19 +02:00
David Núñez 7952e3595a Gas strategy is ignored if a gas price is explicitly added. Just don't. 2020-08-28 18:00:19 +02:00
David Núñez 1471a6bf9f Better format for log messages about TX gas cost 2020-08-28 18:00:19 +02:00
David Núñez 33f2989e41 If using Infura, opt for an oracle-based gas price strategy 2020-08-28 18:00:19 +02:00
David Núñez b29f4fb379 Construct a gas strategy with fallback chain of oracles 2020-08-28 18:00:19 +02:00
David Núñez d6c986d9bb First pass at integrating gas price oracles 2020-08-28 18:00:19 +02:00
David Núñez 1fbd2514fe Improve log message when autodetecting chain 2020-08-28 18:00:19 +02:00
David Núñez 0a9b7556df Log current gas price when setting a gas strategy 2020-08-28 18:00:19 +02:00
David Núñez 1883624c44 New method EthereumClient.generate_gas_price. Gives a gas price according to current gas strategy 2020-08-28 18:00:19 +02:00
David Núñez 39404e4e5e Fixing bug in BlockchainInterface.get_gas_strategy() for callable inputs
Unit tests for this method
2020-08-28 18:00:19 +02:00
David Núñez 3210cd3ccf Use the fast gas strategy as the default 2020-08-28 18:00:19 +02:00
jMyles 78936b1ba1 Block for a while to wait even longer for fleet to spin up (because 'War, What is it Good For' isn't long enough) 2020-08-27 19:48:09 -07:00
MacLane S Wilkison 3f68f1203d
Merge pull request #2195 from KPrasch/faq
FAQ & Doc updates for stake delegation and mainnet worklock
2020-08-28 02:05:43 +00:00
derekpierre 350e5820f0 Remove Node-as-a-Service as an outcome when gas cost is a concern. 2020-08-27 21:27:35 -04:00
jMyles e86bfc2616 Not doing --track-character-lifecycles anymore. Maybe an environment variable or something. 2020-08-27 14:46:15 -07:00
jMyles 2810948d21 Completing publication in order to get publication threadpool to stop. 2020-08-27 14:45:40 -07:00
damon 6a5fc0d5cb temporary hardcode Learner._DEBUG_MODE 2020-08-27 14:00:13 -07:00
jMyles 24bc71be6e Give Bob a chance to hit seednodes before bailing. 2020-08-27 13:16:36 -07:00
MacLane S Wilkison 9687018eab
Apply suggestions from code review
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-27 19:39:38 +00:00
K Prasch b037fb356a
Apply suggestions from code review
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-27 10:32:53 -07:00
David Núñez 9f87c2e75d
Merge pull request #2197 from derekpierre/hypothetical-schmypothetical
Modify WorkLock properties/values to be more closely related to actual limits
2020-08-27 18:20:44 +02:00
derekpierre 3b11bef50b Modify WorkLock properties/values to be more closely related to actual numbers. Of course minimum escrow will fluctate based on ETH/USD rate so that remains hypothetical. 2020-08-27 11:21:17 -04:00
K Prasch fd5fb97c55
Apply suggestions from code review
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
2020-08-26 15:57:13 -07:00
K Prasch c78cb06abb
Apply suggestions from code review
Co-authored-by: Arjun Hassard <arjunhassard@gmail.com>
2020-08-26 15:13:28 -07:00
derekpierre 42393da388 Updated decision tree and writeup to be more generic. 2020-08-26 17:04:27 -04:00
jMyles 8d9abac7be Removing --track-character-lifecycles to see if this is related to the bizarre split problem in tests. 2020-08-26 13:53:57 -07:00
Derek Pierre 2e6d021c23
Apply RFC from #2195
Co-authored-by: Victoria <vikki.zta@gmail.com>
2020-08-26 15:42:59 -04:00
K Prasch 6f911ac0a0
Merge pull request #2191 from vzotova/worklock-restake
WorkLock: `restake` lock while claiming tokens
2020-08-26 12:09:22 -07:00
David Núñez 3eb4cad8c1
Merge pull request #2196 from nucypher/inflation-paper-docs-patch
Update docs to point to new inflation paper
2020-08-26 20:26:52 +02:00