Commit Graph

100 Commits (de8d96e8eaebaa8082e1dc2e498e211dc5b08600)

Author SHA1 Message Date
Kieran Prasch 73b238a587 Removes staking entities 2022-02-21 17:17:11 -08:00
vzotova 856abe4892 Renames `provider_uri` to `eth_provider_uri` 2022-02-18 11:27:15 +03:00
Kieran Prasch 34c79c7830 Require payment method for is_me Ursula and Alice. 2022-02-08 11:01:24 -08:00
Kieran Prasch b36debae5c Introduce PaymentMethod.Quote (calculate valid policy value for SubscriptionManager.createPolicy). 2022-02-08 11:01:24 -08:00
Kieran Prasch bbc509910d Adjust tests to accommodate swapable payment methods. 2022-02-08 11:01:24 -08:00
Kieran Prasch 8052585d2a Removes Felix 2022-02-07 12:11:28 -08:00
Bogdan Opanchuk a276cfec25 Disband umbral_adapter 2022-01-08 15:29:22 -08:00
Bogdan Opanchuk e5620c3155 Changes to make the tests pass 2022-01-08 15:29:22 -08:00
Bogdan Opanchuk 02bb2e2f76 Import the standalone package instead of nucypher.core 2022-01-08 15:29:22 -08:00
Bogdan Opanchuk ffa72226f6 Remove the remainders of the separate Learning Loop versioning
All versioning is contained in the protocol objects now
2021-10-15 15:19:19 -07:00
Bogdan Opanchuk 0b697881a1 Move TLSHostingPower to powers.py
To avoid circular dependencies
2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 6164137610 Rename m -> threshold, num_kfrags -> shares 2021-08-20 19:26:56 -04:00
Piotr Roslaniec 695cc10950 Detect paths during deserialization 2021-08-06 18:10:45 +02:00
Piotr Roslaniec 1a3a649f23 Address PR suggestions 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 113a6db0ac Fix tests after rebase 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 662bc34439 Use Path methods instead of os module 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 6a270c1713 Use pathlib 2021-08-06 18:10:20 +02:00
Kieran Prasch 3253ab9694 Index node metadata by stamp instead of checksum address. Further decouples wallet address from node identity. 2021-06-28 14:33:31 -07:00
Kieran Prasch 53db75c246 Contruct TLS certificate filenames with the interface port to avoid duplicate/invalid. 2021-06-28 14:33:31 -07:00
Kieran Prasch 0d3780466b Respond to RFCs in PR #2701 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 4f7bdf5c46 tests respect the Keystore API 2021-06-28 14:33:31 -07:00
Kieran R. Prasch e3868df4d1 Handle TLS power derivation form keystore. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 6aef077172 bulk renaming of Keyring -> Keystore 2021-06-28 14:33:31 -07:00
Bogdan Opanchuk 6090a755b0 Gate the choice of Umbral implementation in a single file 2021-06-22 18:31:08 -07:00
Bogdan Opanchuk 15333ddca2 Dissolve umbral_adapter 2021-06-17 14:38:51 -07:00
Bogdan Opanchuk e6fcdbbff6 Minimal fixes to make CI pass, using an adapter for Umbral 2021-06-17 14:38:51 -07:00
derekpierre 5415d55b39 Fixed issue where ursula configuration files with signing key suffix were not being listed/used as valid configuration files.
Fix failing tests.
2021-04-15 08:24:41 -04:00
Kieran Prasch fd005b3ff7 Relocates CharacterConfiguration to nucypher.config.base 2021-02-26 13:38:37 -08:00
derekpierre 305bf0a7fb Added unit and integration tests for keyring. 2021-02-18 18:08:40 -08:00
derekpierre 6f25d57971 Better organize serialization/deserialization functions.
Use loopback address functions.
Respond to RFCs for #2536.
2021-02-18 18:08:40 -08:00
Kieran Prasch 6574836699 Additional cleanup and commentary 2021-02-18 18:07:43 -08:00
Kieran Prasch 37774897bc Understand Ursula.run as the coordinated single point of service startup. 2021-02-18 18:06:31 -08:00
Kieran Prasch 212abcc145 Handle power derivation from keyring, or ad-hoc usage of TLSHostingPower. 2021-02-18 18:06:31 -08:00
Kieran Prasch f35f2fcef3 Accmodate rest_host as a required Ursula init parameter for live nodes in test. 2021-01-12 13:10:15 -08:00
Bogdan Opanchuk 2e0efe451e Use in-memory mock LMDB environment for most tests 2021-01-02 17:19:13 -08:00
jMyles 0aa33c3f1e Can't just plunk federated_ursulas into known_nodes anymore if they aren't on the same domain. 2020-11-03 18:13:15 -07:00
jMyles c4786f551a No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain. 2020-11-03 18:13:15 -07:00
David Núñez 279f07c9e4 Handle invalid metadata bytes in node storage. Unit tests. 2020-09-24 20:28:31 +02:00
David Núñez f42de3ae11 Some janitorial stuff 2020-09-24 20:28:31 +02:00
David Núñez 064972e800 Some unit tests reorganization 2020-09-24 20:27:13 +02:00
jMyles 8d18272d77 Some syntactic cleanup suggested by @michwill in comments on #1868. 2020-09-24 20:27:13 +02:00
David Núñez 4cf7dcadc3 We're done with multiple domains, for the moment.
Closes #2144. Closes #1580.
2020-09-24 20:27:13 +02:00
David Núñez 2d2a7a7cde Janitorial stuff 2020-09-24 20:27:13 +02:00
jMyles 663b7de3c8 Lots of Character stoppages; these continually running loops went unnoticed before. 2020-08-10 12:55:27 -07:00
jMyles 9f117ebc6a A Character created from blank config will try to connect to seednodes without lonely. 2020-08-10 12:49:26 -07:00
tuxxy 71f8b914e0 Instead of mocking a LMDB env, we just manage them appropriately 2020-08-10 15:38:59 +02:00
tuxxy 52038e36dc Create a MockLMDBEnv w/ fixture and fix up some tests
Patch the PolicyArrangement model to fix discovery phase tests
2020-08-10 15:38:12 +02:00
tuxxy 846625d917 Replace as much old datastore logic as possible 2020-08-10 15:37:30 +02:00
Bogdan Opanchuk 8dbaf2b206 Use `capsys` instead of `stdout_trap` 2020-05-28 14:42:04 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00