Commit Graph

237 Commits

Author SHA1 Message Date
Arinerron
b1e9e61430
Make pluginmanager functional 2018-05-13 21:11:31 -07:00
Arinerron
fe4261c4a2
Various improvements
- Adds a lot more to the pluginmanager
- Refactors code
- Relocates functions
2018-05-12 20:45:32 -07:00
Arinerron
adf007bf30
Make progress bar 2018-05-10 22:18:39 -07:00
Arinerron
adc85c76c4
Improve console output and status message 2018-05-10 20:19:48 -07:00
Arinerron
6b9f21fd08
Add color configuration to statistics command 2018-05-10 19:20:14 -07:00
Arinerron
2f7002fc67
Improve statistics command 2018-05-10 19:05:56 -07:00
Kevin Froman
193845104e
onionr can now import blocks from disk 2018-05-10 02:42:24 -05:00
Kevin Froman
5af0b5b7a5 Merge branch 'communicator-multithreading' of github.com:beardog108/onionr into communicator-multithreading 2018-05-07 01:55:28 -05:00
Kevin Froman
bc88e8107c
work on pow for public keys 2018-05-07 01:55:03 -05:00
Arinerron
07eb512977
Move default-plugins, debug gui 2018-05-06 16:00:28 -07:00
Kevin Froman
ccea91e260
fixed merge issues 2018-05-04 12:44:35 -05:00
Arinerron
0af569acff
Move config to static-data 2018-05-04 00:14:27 -07:00
Kevin Froman
1a02124122
fixed broken shutdown command 2018-05-02 20:14:00 -05:00
Arinerron
0a7c3aeaab
Improve daemon stopping error handling 2018-05-01 23:35:08 -07:00
Arinerron
cfb1986ad0
Add run check to node introduction function 2018-05-01 23:25:44 -07:00
Arinerron
7b7c4e01cb
Add debug info on exceptions 2018-05-01 23:01:20 -07:00
Kevin Froman
7fd9319cfc
changed http server to gevent from flask built in 2018-05-01 02:26:48 -05:00
Kevin Froman
0d9e0c7066
changed http server to gevent from flask built in 2018-05-01 02:25:31 -05:00
Kevin Froman
28e080fe1a signed blocks related crashes fixed hopefully 2018-04-26 21:08:56 -05:00
Kevin Froman
c9b7528db4
more work on block headers, PMs now signed/verified 2018-04-26 14:56:17 -05:00
Kevin Froman
ad56082271
work on new header system 2018-04-26 02:40:39 -05:00
Kevin Froman
acd5494979
fixed wrong var used for peer causing crash 2018-04-25 18:21:43 -05:00
Kevin Froman
c249a42bb7
added addres+pubkey to stats 2018-04-25 18:01:18 -05:00
Kevin Froman
6b9d4f8fc6
work on new block metadata format and some small bug fixes 2018-04-24 23:04:12 -05:00
Arinerron
3f6f981847
Change bootstrap node list 2018-04-22 21:47:14 -07:00
Arinerron
e820cc65ac
Fix bug involving removing enabled plugins 2018-04-22 21:25:54 -07:00
Arinerron
0dc6a0b6c5
Refactor code 2018-04-22 20:49:53 -07:00
Arinerron
a5dbf73df4
Simple fix for GUI plugin 2018-04-22 20:45:25 -07:00
Arinerron
36d9ebd4f1 Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto 2018-04-22 20:42:50 -07:00
Arinerron
654703d902
Start working on plugin manager 2018-04-22 20:42:37 -07:00
Kevin Froman
8300cd1c91
fixed messed up gethostname() 2018-04-22 22:20:52 -05:00
Kevin Froman
8853926287
bumped api version and removed encode on setdata since it is always bytes now 2018-04-22 21:16:11 -05:00
Kevin Froman
89f1b11dac
started work on base64 transporting 2018-04-22 20:43:17 -05:00
Kevin
0ce3c7d940 now kill tor more often when shutting down, use own tor data directory, and check for api crash to stop daemon 2018-04-21 20:53:12 -05:00
Arinerron
c0e08eae79
Improve plugin error handling 2018-04-21 17:37:20 -07:00
Arinerron
9cf07355ce
Convert gui.py into a default plugin 2018-04-21 17:09:48 -07:00
Arinerron
bd0a175dfc
Improve first-run and add default plugins 2018-04-20 22:04:03 -07:00
Arinerron
098abb8e55
Improve support for plugins 2018-04-20 20:10:50 -07:00
Arinerron
8d8f167d7f
Fix tests, remove debug code 2018-04-20 18:26:46 -07:00
20esaua
2126138428 Add in PluginAPI (#7)
* Modify soft resetting

Made it more like hard resetting (output-wise).

* Refactor timedHmac.py

* Update onionrplugins.py

Remove test code

* Create onionrpluginapi.py

* Update onionrevents.py

* Update onionrpluginapi.py

* Update onionrevents.py

* Update onionr.py

* Add onionr object to events

* Update onionr.py
2018-04-21 01:20:26 +00:00
Arinerron
749bbe5b1f
Update gitignore 2018-04-18 21:32:59 -07:00
Arinerron
981b7ca4a6
Fix if thing 2018-04-18 21:23:31 -07:00
Kevin Froman
8d342df5e6 Merge branch 'crypto' of github.com:beardog108/onionr into crypto 2018-04-18 21:56:38 -05:00
Kevin Froman
8024d0e354
added introduce command 2018-04-18 21:56:25 -05:00
Arinerron
620f176826
use sys.stdin.readline() rather than input() 2018-04-18 19:25:16 -07:00
Arinerron
7369b63614
Update logging 2018-04-18 18:47:35 -07:00
Kevin Froman
77f811c455
added intruction for nodes 2018-04-18 20:17:47 -05:00
Kevin Froman
9eb8a16572
added check for gui support 2018-04-18 01:55:44 -05:00
Kevin Froman
0cf4c97597
fixed padding issue (hopefully), can now decrypt PMs, other improvements 2018-04-17 22:43:33 -05:00
Kevin Froman
a3aa8e3ae6
work on pm and gui improvements & some bug fixes 2018-04-15 21:22:19 -05:00
Kevin Froman
3a2efce637
work on encryption 2018-04-15 03:46:50 -05:00
Kevin Froman
8d261b03dc
work on pm and fixed broken pex when none 2018-04-03 19:34:15 -05:00
Arinerron
d5daeae532
Refactor code 2018-03-02 23:26:02 -08:00
Arinerron
0cefcec11a
Add unit test 2018-03-02 23:10:27 -08:00
Arinerron
b04ea55e48
Add support for programmatic command creation 2018-03-02 23:00:43 -08:00
Arinerron
ab17e0d198
Add plugin support 2018-03-02 20:19:01 -08:00
Kevin Froman
15aa395946
work on crypto 2018-02-28 03:06:02 -06:00
Kevin Froman
d0593ef300
added address add command and test 2018-02-27 15:23:49 -06:00
Arinerron
39c81ae7d1
Add log configuration 2018-02-22 18:53:49 -08:00
Arinerron
c87bf15146
Add config command 2018-02-22 18:25:05 -08:00
Arinerron
1a1317a7b6
Refactor configuration management code 2018-02-22 17:58:36 -08:00
Kevin Froman
155791be03
test tor version, use address db for connections, create address db if it doesnt exist, more 2018-02-22 03:33:30 -06:00
Arinerron
8acef01b68
Add help menu, refactor code 2018-02-21 23:24:25 -08:00
Kevin Froman
586e9230cd
fixed message spam, rewrote draft, work on crypto 2018-02-20 20:44:56 -06:00
Kevin Froman
297cac81ae
work on peer encryption 2018-02-08 16:58:39 -06:00
Kevin Froman
a0dc95c291
work on peer private messages (& crypto) 2018-02-08 03:14:32 -06:00
Arinerron
c57bffcae8
Fix two bugs 2018-02-03 21:22:34 -08:00
Arinerron
62cad7a6ea
Code consistency updates
- Improved formatting
- Added comments
- URL encoded values in netcontroller.performGET
- Kept SQL statement case consistency
2018-02-03 19:44:29 -08:00
Arinerron
bdd1d9697b
Refactor argument handler FOR THE FIFTH TIME 2018-02-03 17:11:35 -08:00
Kevin Froman
70bc131aa6
work on gui, blocks now have identifiers, work on crypto 2018-02-01 23:39:55 -06:00
Kevin Froman
40643358fc Merge branch 'process-blocks' of github.com:beardog108/onionr into process-blocks 2018-01-29 01:05:24 -06:00
Kevin Froman
dd9a54f7c6
added addpeer command and misc bug fixes 2018-01-29 01:05:02 -06:00
Arinerron
b3ea0e7b46
fix a few things 2018-01-28 22:01:36 -08:00
Kevin Froman
63b4c88d06
moved processblocks to communicator and fixed bool error in validatehash 2018-01-28 15:59:13 -06:00
Kevin Froman
963fab821b
fixed addToBlockDB and added selfInsert flag, addmessage command 2018-01-27 20:18:38 -06:00
Kevin Froman
897f18bbc2
improved block syncing 2018-01-27 19:53:24 -06:00
Kevin Froman
4510dbfd82
tor now exits properly on STOP command 2018-01-27 02:43:36 -06:00
Kevin Froman
bf2290ab26
fixed incorrect logger import and fixed communicator not shutting down 2018-01-26 19:24:38 -06:00
Arinerron
197d47eb7d
Add logger 2018-01-25 23:22:48 -08:00
Kevin Froman
033290656a
work on exchanging data 2018-01-26 00:28:11 -06:00
Kevin Froman
4d33005d16
communicator now uses one function 2018-01-20 19:02:56 -06:00
Kevin Froman
6a1a448eab
fixed pgp generation, work on onion 2018-01-20 01:23:09 -06:00
Kevin Froman
cb3de7056c emergency commit 2018-01-19 18:59:05 -06:00
Kevin Froman
d2d60fe6ce
netcontroller now gets the tor hs id 2018-01-19 15:28:34 -06:00
Kevin Froman
9d91e77ec5
work on net controller 2018-01-19 03:16:38 -06:00
Kevin Froman
6d6d60ff7a
fixed test again 2018-01-15 02:52:45 -06:00
Kevin Froman
813e98a801
improved project structuring 2018-01-14 22:57:23 -06:00