Commit Graph

193 Commits

Author SHA1 Message Date
Arinerron
5aaf0f266a
Parameterize all queries, format queries 2018-11-09 22:29:32 -08:00
Arinerron
d5355fdc9e
Merge remote-tracking branch 'origin/tempblocks' into onionrui 2018-11-09 22:13:50 -08:00
Kevin Froman
c0c5061f1e
fixed forward secrecy and delete keys 2018-11-09 13:07:26 -06:00
Kevin Froman
6f72e8c06c better address validation and removed dependency 2018-11-04 17:01:58 -06:00
Kevin Froman
4e86604692 handle missing api header 2018-10-27 14:59:15 -05:00
Kevin
c073020b80 Added API check in requests 2018-10-26 22:29:25 -05:00
Kevin Froman
fbd82d38fe work on foward secrecy 2018-10-09 18:36:52 -05:00
Kevin Froman
980406b699 work on foward secrecy 2018-10-07 15:39:22 -05:00
Kevin Froman
0b9bb42927 bug fixes and work on fs 2018-10-02 00:02:05 -05:00
Kevin Froman
5f67cc388f delete expired blocks 2018-09-30 11:53:39 -05:00
Kevin Froman
b344c53563
delete expired blocks 2018-09-29 23:42:31 -05:00
Kevin Froman
b5fecdf1e8 logging is less spammy, file disabled by default, and we dont try to scan encrypted blocks that aren't for us 2018-09-26 20:37:52 -05:00
Kevin Froman
1a856c365f work on sockets, added profile setter script 2018-09-25 23:58:11 -05:00
Arinerron
6e55636e78 test 2018-09-24 16:48:00 -07:00
Kevin Froman
ad3d7940f5 work on sockets 2018-09-22 23:53:09 -05:00
Kevin Froman
ee2a74380b
work on metadata, forward secrecy, and starting on sockets 2018-09-13 12:26:22 -05:00
Kevin Froman
ce2423e6d9
* moved metadata processor to its own module
* improved some comments
* removed defunct utils functions
2018-09-10 00:02:28 -05:00
Kevin Froman
151b12424c work on block processing module 2018-09-09 00:12:41 -05:00
Kevin Froman
6ecb1fa75d merged config to get up to date 2018-08-29 23:07:11 -05:00
Kevin Froman
f4cc1a6f8f
updated dockerfile, fixed bug in showing name in mail 2018-08-28 22:02:32 -05:00
Kevin Froman
c0c0f838b6 better user info syncing and show names in mail 2018-08-28 20:09:27 -05:00
Kevin Froman
c907558dd1
more work on user info 2018-08-27 23:45:31 -05:00
Kevin Froman
7a0cfe34f3
work on adding/removing friends, user info 2018-08-26 22:44:32 -05:00
Kevin Froman
e346c09228
bug fixes 2018-08-23 14:46:23 -05:00
Kevin Froman
e34c08b036 sync improvements, bug fixes, config changes 2018-08-23 12:48:49 -05:00
Kevin Froman
6d31fa4229 fix peer amount check not calling method 2018-08-23 09:59:00 -05:00
Kevin Froman
dd5cb99155
* do not save blocks if disk allocation reached
* improved some commenting
* bug fixes
2018-08-22 23:59:41 -05:00
Kevin
53577a4c10 work on netcheck and configuration 2018-08-21 15:01:50 -05:00
Kevin Froman
a33d45f430
fixed broken address merge 2018-08-19 20:32:21 -05:00
Kevin Froman
9d827493e4
+ v3 onion config
+ use newer ubuntu
2018-08-18 23:07:09 -05:00
Kevin Froman
cb90c24e64 added dbcreator 2018-08-16 09:03:59 -05:00
Kevin Froman
06dc97869e
working on preventing replay attacks with block content 2018-08-16 00:01:40 -05:00
Kevin Froman
9f4024104a
work on peer blacklisting/profiling\nupdated readme 2018-08-14 00:02:34 -05:00
Kevin Froman
1e37684163
work on blacklisting data 2018-08-10 02:03:49 -05:00
Kevin Froman
1ae2725319
improved onionr startup and port binding 2018-08-06 02:50:08 -05:00
Kevin Froman
307fbf235a use socks4a 2018-08-04 00:50:07 -05:00
Arinerron
31f8d92af7 Fix annoying bug 2018-08-03 20:47:22 -07:00
Arinerron
0b77a88e72 Improve UI 2018-08-03 19:52:45 -07:00
Kevin Froman
032aa780ef
* fixed bug causing onionr to usually only have 1 peer at once
* do not crash when loading new peer profile
* removed code for defunct *address* proof of work
+ added maxStoredPeers and maxConnect config options (TODO)
+ added lastConnectAttempt to address db
+ added command to cause instant peer exchange
+ added connectCheck.txt for TODO connection testing
2018-08-02 15:18:01 -05:00
Arinerron
ddb3ce1e35 Various bug fixes 2018-07-30 21:41:32 -07:00
Kevin Froman
71007a2d0a
+ added reverse block insertion
* handle downloading of blocks better when peer goes offline
* bumped default disk allocation
* added post request util
2018-07-23 02:43:10 -05:00
Kevin Froman
862b609687
* reduce spam
* another bytes fix for old python
2018-07-19 22:02:09 -05:00
Kevin Froman
1c80849c38
do not attempt block decryption in metadata processing if it is not encrypted 2018-07-19 16:31:48 -05:00
Kevin Froman
3b04771eb7
finished inbox and signature validation for private messages 2018-07-19 02:08:51 -05:00
Kevin Froman
f432d9193e
+ implemented some menus and message drafting in pm plugin
* prevent block types from being too large in metadata processing
2018-07-16 02:40:58 -05:00
Kevin Froman
f42d308b2b
- removed gui for now
* work on new pm plugin
2018-07-13 21:43:03 -05:00
Kevin Froman
40255538da
reworking PM system before migration to plugin and updating blockapi to encryption format 2018-07-13 16:02:41 -05:00
Kevin Froman
865bc94ccb
+ flow plugin is now working
+ added escapeAnsi function to utils
2018-07-12 02:37:10 -05:00
Kevin Froman
d879383a8a
work on new flow plugin and block metadata caching 2018-07-11 14:45:38 -05:00
Kevin Froman
f918ae9b9c
started work on flow plugin 2018-07-11 02:35:22 -05:00
Kevin Froman
33787ef39d
* fixed broken block metadata validation, incorrect time integer check and missing size value for encryptType 2018-07-10 01:17:30 -05:00
Kevin Froman
9083775887
* do not report inserted message if keyboard interrupt/failure
* do not crash on keyboard interrupt in pow
2018-07-09 22:09:45 -05:00
Kevin Froman
06986d2703
* now use communicator2 by default
* fixed shutdown command crash
* now handle shutdown of api in communicator
* work on new POW system (block hash being the POW hash)
2018-07-05 02:31:47 -05:00
Kevin Froman
bd819a3ba6
* fixed validateMetadata not having self
+ added isIntegerString
* other fixes
2018-07-04 13:49:43 -05:00
Kevin Froman
58110e461e
improving new communicator bootstrapping, do not connect to self 2018-07-03 16:24:14 -05:00
Kevin Froman
f1c8c8b843
* changed how new communicator uses bootstrap (untested)
+ added function to calculate human readable strings from hex
2018-07-03 03:18:07 -05:00
Kevin Froman
3a7cefbf53
* do not fail localCommand if host file does not exist
* disabled plugin tests
2018-07-02 16:15:59 -05:00
Kevin Froman
65ea5cf6f0
completed validateMetadata function 2018-06-25 23:39:45 -05:00
Kevin Froman
956f720741 added call to new validateMetadata function 2018-06-25 02:34:43 -05:00
Kevin Froman
f148724e69 work on peer/address exchange in new communicator 2018-06-23 02:36:22 -05:00
Kevin Froman
a4824d9b8c
work on new communicator with downloading new blocks 2018-06-16 02:33:54 -05:00
Kevin Froman
31a35472ce
* fixed broken local command
* work on communicator2 block syncing
2018-06-15 14:09:41 -05:00
Arinerron
af237eab0b Refactor Onionr 2018-06-13 21:17:58 -07:00
Kevin Froman
6cb69c7187
work on new peer pool system in new communicator 2018-06-13 17:22:48 -05:00
Kevin Froman
b6da3385cb
+ added onionrpeers file
+ added onionrexceptions file
+ work on new communicator
2018-06-12 02:34:33 -05:00
Kevin Froman
d73b69c9b4
work on new communicator, with nist beacon 2018-06-11 02:40:45 -05:00
Kevin Froman
77a847a0b7
* fixed addpeer command to work with pow
* improved stats screen to show pow token for your key
2018-06-09 01:21:14 -05:00
Arinerron
007d7ad9fb
Update to new Block API 2018-05-19 15:11:51 -07:00
Kevin Froman
500658808f Merge I2P Branch (#19)
* work on i2p support

* work on i2p support

* redid socks check

* redid socks check

* redid socks check

* work on i2p and fixed broken block processing

* fixed no newline delim on block list in api

* fixed no newline delim on block list in api

* fixed no newline delim on block list in api

* use extend instead of append for blocklist after newline changes
2018-05-19 21:32:21 +00:00
Kevin Froman
78265990ab
fixed broken getepoch 2018-05-18 16:49:05 -05:00
Kevin Froman
16282d79d3
refactored timers and added lastconnect to address database 2018-05-18 01:22:16 -05:00
Kevin Froman
03eb98fd16
fixed key pow verification 2018-05-15 00:16:00 -05:00
Kevin Froman
973b8583b6
Fixed index error when checking for pow 2018-05-14 20:10:05 -05:00
Kevin Froman
2e9af7a4a3
fix thread crash 2018-05-14 19:44:54 -05:00
Arinerron
f9b93fd491
Add newline delimiter to metadata+content 2018-05-12 20:55:34 -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
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
d0994b8ef6
work on pow for public keys 2018-05-07 02:40:08 -05:00
Kevin Froman
bc88e8107c
work on pow for public keys 2018-05-07 01:55:03 -05:00
Kevin Froman
e2cc375b1a
work on proof of work 2018-05-05 15:07:32 -05:00
Kevin Froman
908ccbe664
hopefully fixed everything for new sig format 2018-05-05 03:03:05 -05:00
Kevin Froman
d8b5127845
improved communicator threading 2018-05-04 21:07:43 -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
Arinerron
7973d7c8a6
Fix bug involving runcheck 2018-05-01 23:50:29 -07:00
Arinerron
c144bc40b3
Add status check function 2018-05-01 23:22:40 -07: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
8a9d1326fb
signed blocks related crashes fixed hopefully 2018-04-26 20:15:30 -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
66e55d5a50
efficiency improvements 2018-04-25 17:42:42 -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
0dc6a0b6c5
Refactor code 2018-04-22 20:49:53 -07:00
Arinerron
654703d902
Start working on plugin manager 2018-04-22 20:42:37 -07:00
Arinerron
098abb8e55
Improve support for plugins 2018-04-20 20:10:50 -07:00
Arinerron
6883133cfb
Fix one bug, create another 2018-04-18 20:25:33 -07:00
Kevin Froman
d8d29b7c28
improved some debug info and REMOVED STRAY INPUT() 2018-04-18 21:19:38 -05:00