Commit Graph

310 Commits

Author SHA1 Message Date
Kevin Froman
ff5bdd62f2
work on fixing mallable metadata & thread work 2018-05-05 01:19:25 -05:00
Kevin Froman
ab1cce3616
more work on thread logic 2018-05-04 22:39:00 -05:00
Kevin Froman
c3bf73d821
fixed thread crash in highfailurerate check in communicator 2018-05-04 21:09:54 -05:00
Kevin Froman
d8b5127845
improved communicator threading 2018-05-04 21:07:43 -05:00
Kevin Froman
72f104e447
fixed crash in communicator 2018-05-04 14:38:47 -05:00
Kevin Froman
ccea91e260
fixed merge issues 2018-05-04 12:44:35 -05:00
Kevin Froman
56ca0abc63
merge crypto 2018-05-04 12:36:58 -05:00
Arinerron
0af569acff
Move config to static-data 2018-05-04 00:14:27 -07:00
Kevin Froman
26fd456702
work on converting communicator to multithreads 2018-05-03 17:41:12 -05:00
Arinerron
c3d86eafa1
Add direct connection feature and multithreading to events
Add direct connection feature and multithreading to events
2018-05-03 03:22:07 +00:00
Kevin Froman
1a02124122
fixed broken shutdown command 2018-05-02 20:14:00 -05:00
Kevin Froman
98dac40139 Merge branch 'crypto' of github.com:beardog108/onionr into crypto 2018-05-02 02:40:35 -05:00
Kevin Froman
6bf8a56979
improved pow 2018-05-02 02:31:33 -05:00
Arinerron
7973d7c8a6
Fix bug involving runcheck 2018-05-01 23:50:29 -07: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
c144bc40b3
Add status check function 2018-05-01 23:22:40 -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
a7244b2a0a
fixed debug being enabled in web api 2018-05-01 02:01:57 -05:00
Kevin
b82486bff0 Added i2p file 2018-04-30 18:38:34 -05:00
Kevin Froman
c6c819bd28
PMs now disguise sender (needs testing) 2018-04-30 02:38:53 -05:00
Kevin Froman
a376e583e6 fixed missing import in crypto 2018-04-26 21:58:00 -05:00
Kevin Froman
717035a136 fixed missing import in crypto 2018-04-26 21:23:43 -05:00
Kevin Froman
e140e8560f signed blocks related crashes fixed hopefully, wrong exception 2018-04-26 21:18:17 -05:00
Kevin Froman
5086a839ee signed blocks related crashes fixed hopefully 2018-04-26 21:14:31 -05:00
Kevin Froman
28e080fe1a signed blocks related crashes fixed hopefully 2018-04-26 21:08:56 -05:00
Kevin Froman
388b1b6e1f signed blocks related crashes fixed hopefully 2018-04-26 20:37:48 -05:00
Kevin Froman
ac7bb63225 signed blocks related crashes fixed hopefully 2018-04-26 20:28:39 -05:00
Kevin Froman
8a9d1326fb
signed blocks related crashes fixed hopefully 2018-04-26 20:15:30 -05:00
Kevin Froman
3cba6b30c7
working on issue for hashid being bytes on some versions 2018-04-26 19:04:35 -05:00
Kevin Froman
9f4aef7465
do not encode prev if its already bytes 2018-04-26 15:39:02 -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
66e55d5a50
efficiency improvements 2018-04-25 17:42:42 -05:00
Kevin Froman
3aa539ce82
added banner 2018-04-25 02:39:13 -05:00
Kevin Froman
c8fce63412
fixed invalid sqlite3 2018-04-25 02:20:10 -05:00
Kevin Froman
b0271e7779
removed secrets 2018-04-25 02:09:28 -05:00
Kevin Froman
1e32446f2a fixed self issue 2018-04-25 01:56:40 -05:00
Kevin Froman
6b9d4f8fc6
work on new block metadata format and some small bug fixes 2018-04-24 23:04:12 -05:00
Kevin Froman
bbd881785d More than halved time to keep invalid blocks during development 2018-04-23 01:46:05 -05:00
Kevin Froman
686e30f1ba
do not re merge ignored hash 2018-04-23 01:14:49 -05:00
Kevin Froman
0db21e2c32
onionr now removes and ignores blocks it cant get after a long time, added removeblock function 2018-04-23 01:03:10 -05:00
Arinerron
db2babac29
Fix this GUI bug once and for all 2018-04-22 21:54:51 -07:00
Arinerron
4052a91f35 Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto 2018-04-22 21:50:17 -07:00
Arinerron
4afe7e45c3
suppress tkinter 2018-04-22 21:50:07 -07:00
Kevin Froman
2dfe735aad fixed arinerrons bootstrap address 2018-04-22 23:49:48 -05:00
Kevin Froman
f4da15c2f4 fixed arinerrons bootstrap address 2018-04-22 23:48:43 -05:00
Arinerron
3f6f981847
Change bootstrap node list 2018-04-22 21:47:14 -07:00
Arinerron
0d23d176ce
Move tkinter requirement to openGUI function 2018-04-22 21:42:34 -07:00
Arinerron
e820cc65ac
Fix bug involving removing enabled plugins 2018-04-22 21:25:54 -07:00
Kevin Froman
3e8d76e246 fixed exception caused by probably check for missing block 2018-04-22 23:17:16 -05: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
62737ea2c1
added bootstrap node and removed debug message 2018-04-22 22:15:20 -05:00
Kevin Froman
583480629a
hopefully working again, hopefully less block validation issues 2018-04-22 21:58:24 -05:00
Kevin Froman
c807056ef2
convert data to bytes if it isnt 2018-04-22 21:24:34 -05:00
Kevin Froman
7578ac874b
now only show block contents debug if txt 2018-04-22 21:19:57 -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
ae79b7ee3a
fixed stupid mistake 2018-04-22 21:13:55 -05:00
Kevin Froman
d41f86a27a
what 2018-04-22 21:10:09 -05:00
Kevin Froman
7199b0e5da
now check base64 after bool check 2018-04-22 20:59:44 -05:00
Kevin Froman
c562fabbbd
removed bytes conversion on downloadblock data 2018-04-22 20:56:20 -05:00
Kevin Froman
23d092fb94
added binascii import 2018-04-22 20:46:22 -05:00
Kevin Froman
89f1b11dac
started work on base64 transporting 2018-04-22 20:43:17 -05:00
Kevin Froman
4ff6baa279
fixed messed up message for missing bootstrap file 2018-04-22 18:38:32 -05:00
Kevin Froman
c9cfeac303
added self check, bootstrap node file 2018-04-22 18:36:09 -05:00
Kevin Froman
7706d4e04c
added self check, bootstrap node file 2018-04-22 18:35:00 -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
034410a6e8
Remove test plugin 2018-04-18 21:46:29 -07:00
Arinerron
749bbe5b1f
Update gitignore 2018-04-18 21:32:59 -07:00
Arinerron
829af91c82
Add onionr/data-encrypted.dat to .gitignore 2018-04-18 21:24:06 -07:00
Arinerron
981b7ca4a6
Fix if thing 2018-04-18 21:23:31 -07:00
Arinerron
6883133cfb
Fix one bug, create another 2018-04-18 20:25:33 -07:00
Arinerron
99edaa1e6f
Fix pm bug 2018-04-18 20:20:52 -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
a056c7a7f4 Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto 2018-04-18 19:25:26 -07:00
Arinerron
620f176826
use sys.stdin.readline() rather than input() 2018-04-18 19:25:16 -07:00
Kevin Froman
d8d29b7c28
improved some debug info and REMOVED STRAY INPUT() 2018-04-18 21:19:38 -05:00
Kevin Froman
c356b68987
improved some debug info and REMOVED STRAY INPUT() 2018-04-18 21:18:38 -05:00
Arinerron
5dd0437f14 Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto 2018-04-18 19:16:16 -07:00
Arinerron
1332e9ee9e
Add some error handling 2018-04-18 19:16:10 -07:00
Kevin Froman
417b2d7a79 Merge branch 'crypto' of github.com:beardog108/onionr into crypto 2018-04-18 21:03:59 -05:00
Kevin Froman
812381b1d8
added check for type error on data check 2018-04-18 21:03:44 -05:00
Arinerron
ded179bcad
Add error logging 2018-04-18 18:57:37 -07:00
Arinerron
86a2c0d6d0
Remove extra padding 2018-04-18 18:50:53 -07:00
Arinerron
7369b63614
Update logging 2018-04-18 18:47:35 -07:00