Commit graph

307 commits

Author SHA1 Message Date
Lex Berezhny
9589ac6d02 include tx in db get_txos() 2019-03-22 03:03:48 -04:00
Lex Berezhny
cfa74985e0 Revert "add hash property to txoref"
This reverts commit 38ae660a68.
2019-03-20 14:17:14 -04:00
Victor Shyba
38ae660a68 add hash property to txoref 2019-03-20 14:02:14 -04:00
Lex Berezhny
ca4a07f766 ledger.is_valid_address added 2019-03-20 01:36:30 -04:00
Lex Berezhny
9281bdb61b lazy parse scripts 2019-03-18 23:25:00 -04:00
Lex Berezhny
80b65ae7e7 OP_0 can be an OP but also an empty string, figure this out contextually in parser 2019-03-18 18:13:49 -04:00
Lex Berezhny
61a254f580 0.4.0 2019-03-12 15:36:24 -04:00
Lex Berezhny
4ba90a727b make apply not abstract 2019-03-12 15:05:07 -04:00
Lex Berezhny
27558ffd89 implement abstract method for pylint 2019-03-12 15:05:07 -04:00
Lex Berezhny
c44de48481 + account.apply and addressmanager.apply 2019-03-12 15:05:07 -04:00
Lex Berezhny
a021ddeffd + account.modified_on 2019-03-11 22:50:39 -04:00
Victor Shyba
cdd25e3b0f pylint 2019-03-11 22:50:39 -04:00
Victor Shyba
1286417aec apply scrypt as kdf, add tests 2019-03-11 22:50:39 -04:00
Lex Berezhny
fcac4f1488 fix encrypt 2019-03-11 22:50:39 -04:00
Lex Berezhny
f655fefe52 typing fix 2019-03-11 22:50:39 -04:00
Lex Berezhny
7979f0a683 typing fix 2019-03-11 22:50:39 -04:00
Lex Berezhny
d9df2ead84 pylint fixes 2019-03-11 22:50:39 -04:00
Lex Berezhny
b07ca20e0e working sync 2019-03-11 22:50:39 -04:00
Jack Robison
a79be0513b
pylint 2019-02-28 12:00:44 -05:00
Lex Berezhny
9e4c1120fa 0.3.2 2019-02-22 19:26:03 -05:00
Jack Robison
09726876ad pylint 2019-02-13 22:50:43 -05:00
Jack Robison
45c6ad3f6d remove commits after pragma 2019-02-13 22:50:43 -05:00
Jack Robison
97e4d51c29 tests and feedback 2019-02-13 22:50:43 -05:00
Jack Robison
f134bc264b add run_nofk to AIOSQLite to run without foreign keys 2019-02-13 22:50:43 -05:00
Victor Shyba
57eb56b92d timeout earlier on connect 2019-02-12 21:02:25 -05:00
Brannon King
cabc58feb4 fix decoding error in torba log 2019-02-11 16:11:01 -05:00
Lex Berezhny
364f95612a 0.3.0 2019-02-10 23:11:53 -05:00
Victor Shyba
45669dad33 simplify add_keys 2019-01-29 13:17:35 -05:00
Victor Shyba
19e326c140 simplify generate_keys 2019-01-29 13:17:35 -05:00
Victor Shyba
e1c0caa357 add executemany and translate batches to it 2019-01-29 13:17:35 -05:00
Victor Shyba
9d3e1af69b [wallet server] stop executor after stopping server and wait for shutdown event 2019-01-25 17:02:09 -05:00
Victor Shyba
662f2bff4c [wallet server] take control of executor 2019-01-25 11:32:08 -05:00
Victor Shyba
9a9d37cc50 [wallet server] improved/stabler signal handlers 2019-01-25 11:32:08 -05:00
Victor Shyba
3e4c9f25a8 signal handlers cant call async functions 2019-01-25 11:32:08 -05:00
Lex Berezhny
2cb9d5c636 orchstr service transfer command works without wallet availability 2019-01-16 13:28:12 -05:00
Lex Berezhny
a53b60fca4 use correct env variable for setting SPV hostname 2019-01-16 13:05:23 -05:00
Lex Berezhny
09b77972d9 convert localhost to 127.0.0.1 bypassing /etc/hosts which resolves to ::1 and fails on default docker setup 2019-01-15 15:24:08 -05:00
Lex Berezhny
7a8c2fc98b removed hard coded ipv4 and replaced it with being able to provide hostname to --spv 2019-01-15 00:22:55 -05:00
Lex Berezhny
6a00cf9942 mypy fixes 2019-01-13 22:44:46 -05:00
Lex Berezhny
e79202de3c support for linking between nodes 2019-01-13 22:38:36 -05:00
Lex Berezhny
527e288568 explicitely specify ipv4 2019-01-13 14:50:24 -05:00
Lex Berezhny
ed32d17936 use guarded stop methods in orchstr8/node.py 2019-01-13 11:44:32 -05:00
Lex Berezhny
3a8e1cd4a5 initial push of workbench 2019-01-13 02:59:54 -05:00
Lex Berezhny
186de045b3 pylint 2019-01-10 17:17:12 -05:00
Lex Berezhny
feee534829 silence sql transaction errors 2019-01-10 17:03:09 -05:00
Jack Robison
f4bf260cdb fix improperly handled CancelledError on shutdown 2019-01-09 12:15:14 -05:00
Lex Berezhny
442138ef36 added AdvanceTimeTestCase 2019-01-07 03:02:15 -05:00
Lex Berezhny
d72a152195 run transaction interactions now return a result 2018-12-15 15:53:39 -05:00
Lex Berezhny
390226d2ef pylint 2018-12-15 15:53:39 -05:00
Lex Berezhny
a16495d06f await self.server.stop() 2018-12-15 15:53:39 -05:00
Lex Berezhny
7092f40701 improved shutdown for torba.server and related test setup code 2018-12-15 15:53:39 -05:00
Victor Shyba
458189366f typo on session.py 2018-12-12 20:13:34 -03:00
Victor Shyba
9d772a45d5 wait the shutdown event instead of running forever 2018-12-12 20:13:08 -03:00
Victor Shyba
1c860e8578 set logging to info 2018-12-12 20:12:35 -03:00
Lex Berezhny
50fc027289 initial version of torba/server/cli.py 2018-12-12 12:54:38 -05:00
Victor Shyba
e310601266 keep connection alive for idling peers 2018-12-11 16:07:48 -05:00
Lex Berezhny
78fd434686 asyncio.sleep() -> sleep() and asyncio.Event() to Event() in order to reduce overall diff after dropping curio.py 2018-12-11 15:59:15 -05:00
Lex Berezhny
a6de3a9642 completely dropped curio.py 2018-12-11 15:59:15 -05:00
Lex Berezhny
5ed478ed11 dropped everything in curio.py except TaskGroup so far, TaskGroup is next 2018-12-11 15:59:15 -05:00
Lex Berezhny
b93f9d4c94 removing dependence on curio abstraction 2018-12-11 15:59:15 -05:00
Victor Shyba
8bc07fad32 fast and furious 2018-12-07 08:47:30 -05:00
Lex Berezhny
612066165a improved integration test for tx synchronization 2018-12-06 13:38:56 -05:00
Lex Berezhny
b273d58a80 0.2.5 2018-12-06 00:19:35 -05:00
Lex Berezhny
b2544139e6 stress test 2018-12-05 23:45:35 -05:00
Lex Berezhny
367ffdea1f may be the sync fix 2018-12-05 23:42:16 -05:00
Lex Berezhny
4c854dd5a7 0.2.4 2018-12-05 11:50:11 -05:00
Lex Berezhny
e96b2f702d 0.2.3 2018-12-05 11:49:22 -05:00
Lex Berezhny
cff22a8951 pylint line too long 2018-12-05 11:48:19 -05:00
Lex Berezhny
1b7c5a1373 update_history serially handles unique addresses 2018-12-05 11:48:19 -05:00
Lex Berezhny
2bd60021aa pylint 2018-12-05 11:48:19 -05:00
Lex Berezhny
2b8c06bda7 wip sync fixing 2018-12-05 11:48:19 -05:00
Lex Berezhny
c36b4626a9 added missing imports 2018-12-05 01:11:55 -05:00
Lex Berezhny
b5f245d9b6 made pylint and mypy happy 2018-12-05 01:11:55 -05:00
Lex Berezhny
899a6f0d4a merged aiorpcx into torba.rpc 2018-12-05 01:11:55 -05:00
Jack Robison
ca67c56222
catch decryption errors and verify seed is valid upon decrypt 2018-11-26 14:40:59 -05:00
Victor Shyba
56fc003a96 log errors from wallet servers 2018-11-26 00:32:20 -05:00
Lex Berezhny
9e5246c619 drop old style classes in torba.server 2018-11-25 20:51:41 -05:00
Lex Berezhny
b2bcf39872 0.2.2 2018-11-25 11:08:49 -05:00
Lex Berezhny
10c1f8e1cf drop requirements: mock, requests. merge [server] into the main requirement section 2018-11-20 22:57:59 -05:00
Lex Berezhny
ed880be3e5 0.2.1 2018-11-19 19:27:07 -05:00
Lex Berezhny
e5714dc1fc test sync integration test and other fixes 2018-11-19 18:14:57 -05:00
Lex Berezhny
ee28bbc19b pylint and mypy fixes 2018-11-19 18:14:57 -05:00
Lex Berezhny
345d4f8ab1 refactored tx sync 2018-11-19 18:14:57 -05:00
Jack Robison
e745b6c16e fix wallet encryption
fixes https://github.com/lbryio/lbry/issues/1623
2018-11-19 17:15:09 -05:00
Victor Shyba
fb6a7442a6 fix wallet server shutdown for tests 2018-11-07 16:46:47 -05:00
Lex Berezhny
b8a3b62f0f moved import to make pylint happy, take 2 2018-11-07 15:10:27 -05:00
Lex Berezhny
78b84ba698 moved import to make pylint happy 2018-11-07 15:07:36 -05:00
Lex Berezhny
fdf479241a added ledger.wait(tx) to support reliably waiting for TX to be in ledger 2018-11-07 14:42:17 -05:00
Lex Berezhny
8fcbf48bdf attempt UTXO check 5 times when UTXOs are less than the fee 2018-11-06 19:27:48 -05:00
Lex Berezhny
268e599423 handle creating transactions where input is consumed by fees and there is no output by creating an additional input which will require some change output 2018-11-06 19:16:27 -05:00
Lex Berezhny
ae8fece9bb python3.6 tests pass again 2018-11-04 01:42:27 -05:00
Lex Berezhny
c497385bc7 setup.py fixes 2018-11-04 01:04:14 -05:00
Lex Berezhny
37468cad59 fix pylint 2018-11-04 01:01:03 -05:00
Lex Berezhny
5f70ae9923 reorganization 2018-11-04 01:55:50 -04:00
Lex Berezhny
5cdda0f3a8 fix AsyncTestCase imports 2018-11-03 20:52:26 -04:00
Lex Berezhny
f0e1fc1a49 more pylint and mypy fixes 2018-11-03 20:52:26 -04:00
Lex Berezhny
77d8c68b13 pylint disable workbench check for now 2018-11-03 20:52:26 -04:00
Lex Berezhny
48d7bfd225 pylint and mypy fixes 2018-11-03 20:52:26 -04:00
Lex Berezhny
f60435c878 moving and refactoring electrumx into torba 2018-11-03 20:52:26 -04:00
Victor Shyba
41332f22c3 bump aiorpcx + adapt basenetwork 2018-11-03 11:00:23 -04:00