Commit Graph

947 Commits

Author SHA1 Message Date
Kevin Froman
6ca70afb78
we now temporarily keep track of peer connectivity history, eventually we will use this to ignore unstable/slow/offline peers 2018-02-04 03:20:43 -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
2769673abd hopefully fixed block issues 2018-02-02 03:15:28 -06:00
Kevin Froman
38ad6559c3 gui can now send messages 2018-02-02 02:30:50 -06:00
Kevin Froman
70bc131aa6
work on gui, blocks now have identifiers, work on crypto 2018-02-01 23:39:55 -06:00
Kevin Froman
14d1fec3f3
started work on data encryption 2018-02-01 16:45:15 -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
71bff27245 do not add block in addblock function if it already is added 2018-01-28 21:45:43 -06:00
Kevin Froman
e5a3a4650e
now display new block text if small in terminal 2018-01-28 21:00:12 -06:00
Kevin Froman
8c6a04f03d
moved length check in hash validation 2018-01-28 20:54:39 -06:00
Kevin Froman
1c3e886ba0
added hasBlock function 2018-01-28 20:52:48 -06:00
Kevin Froman
b4d61d3598
set dataSaved when it should have already been 2018-01-28 20:39:34 -06:00
Kevin Froman
aaecd0adaf
added timeout to performget 2018-01-28 20:30:31 -06:00
Kevin Froman
8b3a09f5af
do not claim hash is invalid when there was no hash 2018-01-28 20:20:24 -06:00
Kevin Froman
da80723686
do not claim hash is invalid when there was no hash 2018-01-28 20:19:30 -06:00
Kevin Froman
0ca84c9759
check for bytes hash type in setData 2018-01-28 20:14:46 -06:00
Kevin Froman
55aa889bd9
now update block datasaved stat when saved 2018-01-28 20:12:36 -06:00
Kevin Froman
8d41f9f3d5
now update block datasaved stat when saved 2018-01-28 20:08:28 -06:00
Kevin Froman
dc65254e0a
now update block datasaved stat when saved 2018-01-28 20:02:16 -06:00
Kevin Froman
7acb695acd
added hash validation warning for blocks 2018-01-28 16:45:22 -06:00
Kevin Froman
1b0d575575
fxied validateHash 2018-01-28 16:41:49 -06:00
Kevin Froman
c6ad487c79
fxied validateHash 2018-01-28 16:38:10 -06:00
Kevin Froman
d1faea2519
debugging blocks 2018-01-28 16:29:16 -06:00
Kevin Froman
7533fda399
debugging blocks 2018-01-28 16:26:34 -06:00
Kevin Froman
172e709c46
trim hash whitespace in validatehash 2018-01-28 16:21:51 -06:00
Kevin Froman
692de7a147
sigh 2018-01-28 16:15:41 -06:00
Kevin Froman
7f688e0696
added downloadBlock function 2018-01-28 16:14:19 -06:00
Kevin Froman
f4bb9ca093
fixed process blocks core call 2018-01-28 16:03:55 -06:00
Kevin Froman
cd82903db1
moved processblocks to communicator and fixed bool error in validatehash 2018-01-28 16:02:29 -06:00
Kevin Froman
63b4c88d06
moved processblocks to communicator and fixed bool error in validatehash 2018-01-28 15:59:13 -06:00
Arinerron
0d423aaefd
Change "error" to "fatal" and fix styling for fatal 2018-01-27 20:43:54 -08:00
Kevin Froman
2d41107372
fixed requirements.txt and unsaved block message 2018-01-27 20:29:45 -06:00
Kevin Froman
ac0838e678
properly save block list 2018-01-27 20:23:07 -06:00
Kevin Froman
963fab821b
fixed addToBlockDB and added selfInsert flag, addmessage command 2018-01-27 20:18:38 -06:00
Kevin Froman
da6729adc9
fixed core not appending new line to block list 2018-01-27 20:10:17 -06:00
Kevin Froman
7a3eaf63df
added invalid block debug message 2018-01-27 20:07:33 -06:00
Kevin Froman
59b4a887c7
properly close setpeerinfo db 2018-01-27 20:05:55 -06:00
Kevin Froman
df494a7906
added communicator hash sync debug messages 2018-01-27 20:03:44 -06:00
Kevin Froman
abcdf58b1f
fixed performget error type mismatch 2018-01-27 19:58:30 -06:00
Kevin Froman
2ed6475195
improved block syncing 2018-01-27 19:56:59 -06:00
Kevin Froman
897f18bbc2
improved block syncing 2018-01-27 19:53:24 -06:00
Kevin Froman
f3c1587d51 failed to get blocks message 2018-01-27 17:02:03 -06:00
Kevin Froman
db9ed46162 failed to get blocks message 2018-01-27 16:59:07 -06:00
Kevin Froman
5457e1fdb7
onionr now responds with data properly 2018-01-27 15:49:48 -06:00
Kevin Froman
50e6537e80
tor now exits properly on STOP command 2018-01-27 03:06:08 -06:00
Kevin Froman
4510dbfd82
tor now exits properly on STOP command 2018-01-27 02:43:36 -06:00
Kevin Froman
ead0741e03
fixed gpg generation bug and fixed issues relating to first run/setup 2018-01-26 21:42:20 -06:00
Kevin Froman
d22d945056
fixed wrong gnupg 2018-01-26 19:45:01 -06:00
Kevin Froman
e59ca3968c
updated gnupg version and removed CI check for gnupg 2018-01-26 19:35:18 -06:00
Kevin Froman
bf2290ab26
fixed incorrect logger import and fixed communicator not shutting down 2018-01-26 19:24:38 -06:00
Kevin Froman
1c8f8a6632 Merge remote-tracking branch 'origin/loggerdev' into mergeloggerdev 2018-01-26 19:17:22 -06:00
Kevin Froman
cb63941fc9
work on processing blocks 2018-01-26 19:16:15 -06:00
Kevin Froman
383c936e68
Delete hostname 2018-01-26 19:09:51 -06:00
Kevin Froman
192aee9dc2
Delete torrc 2018-01-26 19:09:38 -06:00
Kevin Froman
ff23a4dc6d
Delete host.txt 2018-01-26 19:09:29 -06:00
Kevin Froman
946d5fb25c
Update torrc 2018-01-26 19:07:47 -06:00
Kevin Froman
70351b0b5c
Update host.txt 2018-01-26 19:07:37 -06:00
Kevin Froman
2486b8ffcd
Update hostname 2018-01-26 19:04:02 -06:00
Arinerron
583c5290d4
Add input functions 2018-01-26 16:52:20 -08:00
Kevin Froman
64b14720c1
fixed broken dns rebinding mitigation and secured peer adding 2018-01-26 18:10:38 -06:00
Kevin Froman
c35242be1a
added id verification 2018-01-26 03:46:21 -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
67a84e2a19 added processBlocks function 2018-01-25 16:39:09 -06:00
Kevin Froman
6e8aaaf4b1
added pynacl import 2018-01-24 23:30:41 -06:00
Kevin Froman
4966925b14 added return false for errors on performget 2018-01-23 23:28:43 -06:00
Kevin Froman
b41e51937e fixed missing sys import 2018-01-21 22:39:19 -06:00
Kevin Froman
f46e7ea965
added 401 handler, work on storing/sending data 2018-01-21 20:49:11 -06:00
Kevin Froman
5af2b99135 added get data function, work on submitting/recieving data 2018-01-21 03:12:41 -06:00
Kevin Froman
b62f799b02
added block database creation and insertion 2018-01-20 23:49:16 -06:00
Kevin Froman
4d33005d16
communicator now uses one function 2018-01-20 19:02:56 -06:00
Kevin Froman
d0a93ef2de added check for travis in gpg homedir 2018-01-20 12:23:01 -06:00
Kevin Froman
b1c0567c98
fixed int bug in netcontroller and test 2018-01-20 12:06:25 -06:00
Kevin Froman
26c1983a61
hopefully fixed pgp test, added pgp export function 2018-01-20 11:59:44 -06:00
Kevin Froman
0042e2fe51
api now returns pgp keys 2018-01-20 03:22:07 -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
388752c079
started work on controling and using hidden services 2018-01-18 17:25:10 -06:00
Kevin Froman
0394f1640a
added netcontroller.py file 2018-01-18 03:08:32 -06:00
Kevin Froman
b29e0f0c09
fixed host check spelling bug 2018-01-18 01:49:13 -06:00
Kevin Froman
19bab6a3c6
edited spec, added hmac generation function + test 2018-01-17 17:37:53 -06:00
Kevin Froman
45eb94d759
added bytesStored peer entry 2018-01-17 12:35:24 -06:00
Kevin Froman
ce921d211c
added function definitions & doc strings 2018-01-16 02:32:17 -06:00
Kevin Froman
c1217b1d44
use homedir instead of gnupghome argument 2018-01-15 15:21:32 -06:00
Kevin Froman
226bb1b3e2
added dev-enabled 2018-01-15 15:09:17 -06:00
Kevin Froman
4f04818c86
still learning tests i guess 2018-01-15 03:09:27 -06:00
Kevin Froman
6d6d60ff7a
fixed test again 2018-01-15 02:52:45 -06:00
Kevin Froman
6428d38916
fixed failing test 2018-01-15 02:44:14 -06:00
Kevin Froman
fa5a5d3414
changed test travis 2018-01-15 02:40:51 -06:00
Kevin Froman
8b4b69e99c
added linux run script 2018-01-15 02:03:13 -06:00
Kevin Froman
813e98a801
improved project structuring 2018-01-14 22:57:23 -06:00