Commit Graph

241 Commits

Author SHA1 Message Date
Kevin Froman
302f696475 removed randomness beacon stuff 2018-12-14 11:23:56 -06:00
Kevin
993e5ae4c7 Cleanup and fixes 2018-12-13 04:35:01 +00:00
Kevin
ca70b275f6 Merge wot 2018-12-09 17:29:39 +00:00
Arinerron
908ee647a1
Fix merge conflicts 2018-11-16 23:23:10 -08:00
Kevin Froman
851b2bef76
onionr now waits for a block to be uploaded to share it, unless the node exits 2018-11-13 11:07:46 -06:00
Kevin
44d545684a Merge Tempblocks 2018-11-11 02:10:58 +00:00
Arinerron
548d4ed106
Misc changes
- made stuff pretty
- fixed bugs
- refactored stuff
2018-11-09 23:17:19 -08:00
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
58aa8ce1cc
* Increased heartbeat timer
* Tried to fix bug where wrong node was being reported as being
announced to
* Refactored core somewhat
- Removed data dir encryption (TODO: just encrypt pub/priv key pair)
- Removed simplecrypt dependency
2018-10-30 17:22:06 -05:00
Kevin Froman
247ae540f9 reworked offline encryption 2018-10-21 00:07:35 -05:00
Kevin Froman
220fda02ce
half way done with encryption plugin, fixed encryption bug in onionrcrypto when using non anonymous encryption 2018-10-19 00:04:11 -05:00
Kevin Froman
fbd82d38fe work on foward secrecy 2018-10-09 18:36:52 -05:00
Kevin Froman
c823eecfe3 work on foward secrecy 2018-10-08 00:11:46 -05:00
Kevin Froman
38913b62ce work on foward secrecy 2018-10-07 21:25:59 -05:00
Kevin Froman
980406b699 work on foward secrecy 2018-10-07 15:39:22 -05:00
Kevin Froman
5606a07757 work on foward secrecy 2018-10-07 00:06:44 -05:00
Kevin Froman
8de7bd16c6 work on foward secrecy 2018-10-06 13:06:46 -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
Arinerron
1b193d098b A few changes, click for details
- broke post liking
- added more reliable replie
2018-09-29 20:13:30 -07:00
Kevin Froman
761dc9eb95
use timeouts in sqlite3 2018-09-28 12:29:07 -05:00
Arinerron
04f89383f7 Parameterize SQL statements 2018-09-26 17:50:54 -07:00
Arinerron
0c9847fbec Misc changes 2018-09-26 17:40:02 -07: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
711cf3f2d3 work on sockets 2018-09-23 20:47:27 -05:00
Kevin Froman
ad3d7940f5 work on sockets 2018-09-22 23:53:09 -05:00
Kevin Froman
e826bca19e work on sockets 2018-09-20 12:04:58 -05:00
Kevin Froman
f8b10cfe12 a lot of work on sockets, and added chat module 2018-09-19 23:35:26 -05:00
Kevin Froman
ee2a74380b
work on metadata, forward secrecy, and starting on sockets 2018-09-13 12:26:22 -05:00
Kevin Froman
c4dcd89dfe
+ added methods to import and select new forward secrecy keys 2018-09-11 21:58:51 -05:00
Kevin Froman
d151e0d302 work on forward secrecy 2018-09-11 14:45:06 -05:00
Kevin Froman
151b12424c work on block processing module 2018-09-09 00:12:41 -05:00
Kevin Froman
083003191f work on cliui 2018-09-01 23:55:24 -05:00
Kevin Froman
c142ab770a work on cliui 2018-09-01 21:59:03 -05:00
Kevin Froman
6ecb1fa75d merged config to get up to date 2018-08-29 23:07:11 -05:00
Kevin Froman
7a0cfe34f3
work on adding/removing friends, user info 2018-08-26 22:44:32 -05:00
Kevin Froman
b46bd42d9e fixed invalid argument call 2018-08-24 17:42:09 -05:00
Kevin Froman
1faae80aaf sync improvements, bug fixes, config changes 2018-08-23 13:24:32 -05:00
Kevin Froman
e34c08b036 sync improvements, bug fixes, config changes 2018-08-23 12:48:49 -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 Froman
9655bfd872
* do not reinsert blocks
* warn mail about bad sigs
2018-08-17 23:42:30 -05:00
Kevin Froman
06dc97869e
working on preventing replay attacks with block content 2018-08-16 00:01:40 -05:00
Kevin Froman
aab7d4296f
improved blacklisting 2018-08-12 22:48:33 -05:00
Kevin Froman
5f21d15cdd
+ blocks can now be blacklisted
* Peers sync a little better
2018-08-11 00:23:59 -05:00
Kevin Froman
12d39393b4
* cache pip requirements in dockerfile
* import blacklist into core
+ began work on blacklist command
* work on blacklist module
* modified dockerignore
2018-08-10 17:13:58 -05:00
Kevin Froman
bc95d8855d
+ added POW announce for node (now POST)
* fixed bug where core hsAddress was not available on first startup
2018-08-08 14:26:02 -05:00
Kevin Froman
0ae052336c
+ onionr now introduces automatically
+ added daemon tools file
+ added .dockerignore
2018-08-07 02:31:53 -05:00
Arinerron
0b77a88e72 Improve UI 2018-08-03 19:52:45 -07:00
Kevin Froman
8694ab078e
+ remove peers who do not meet the minimum score
* minor bug fixes and documentation improvements
* do not cleanup peers if we have no online peers (probably not
connected anyway)
* do not run peer cleanup until a min
* do not spam block list on shutdown during block sync
* use correct thread decrement in peerCleanup
* added trust int to address table, not used yet
2018-08-03 01:28:26 -05:00
Kevin Froman
8bb5014d41
work on peer cleanup 2018-08-02 02:28:26 -05:00
Kevin Froman
d22701199c
* work on peer profiling
* block exchange order
* edited disclaimer html
* began working on peerCleanup
2018-08-01 02:22:22 -05:00
Kevin Froman
afdee2a7a5
work on new peer profiling system 2018-07-26 22:07:50 -05:00
Kevin Froman
0beffab96e
+ added blockimporter.py
* removed outdated direct connection handler
2018-07-23 02:45:48 -05: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
732fe70ff4 Merge branch 'refactoring2' into new-pm 2018-07-18 02:36:40 -05:00
Kevin Froman
2a4cef68f8
* onionrblockapi supports pubkey encryption now
* can now read messages in mail plugin
2018-07-18 02:33:23 -05:00
Kevin Froman
7390945ebf
work on mail plugin inbox 2018-07-17 02:18:17 -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
4ba1bd3513 Merge branch 'master' into refactoring2 2018-07-13 01:19:18 -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
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
f027202ac9
* Pretty much done with new POW format 2018-07-08 02:51:23 -05:00
Kevin Froman
8727dc2241
Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2 2018-07-07 19:03:46 -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
Arinerron
bd3a3bfeed Fix type bug 2018-07-04 12:07:17 -07:00
Kevin Froman
6f761aaeff
do not have linebreak in own hsaddr 2018-07-03 16:27:42 -05:00
Kevin Froman
45234588e2
* fixed broken insertblock with bytes
* some work on improving tests
* temporarily disabled testblockapi test
2018-07-02 03:13:18 -05:00
Kevin Froman
a2ad90f2b9 fixed invalid conn commit 2018-06-30 22:38:57 -05:00
Kevin Froman
6fd0f9aded
create daemon db table if it doesn't exist 2018-06-26 00:04:59 -05:00
Kevin Froman
ff8128ae33 use bytes instead of str when inserting 2018-06-21 14:07:00 -05:00
Kevin Froman
3c8d1a5b7f readded missing setdata in core 2018-06-21 13:56:07 -05:00
Kevin Froman
ca53da854e readded forgotten setdata to insertblock 2018-06-21 02:34:42 -05:00
Kevin Froman
9abb2f4f85 fixed undefined metadata in insertblock 2018-06-21 02:26:54 -05:00
Kevin Froman
9968a72fbc + added clear offline peers to new communicator
+ fixed unable to insert unencrypted block
2018-06-21 02:24:58 -05:00
Kevin Froman
4bc5317b63 fixed leftover break in core 2018-06-21 01:48:54 -05:00
Kevin Froman
0087e04f57 work on new blocks and encryption 2018-06-20 15:56:28 -05:00
Kevin Froman
0a8052a9a4
* work on new block system, encryption
+ added new exception
+ encryption now anonymous by default, will probably remove anonymous
param in future
2018-06-20 02:40:49 -05:00
Kevin Froman
10ebdddb24
* work on new block system, working on encryption
* added onionrvalues file for onionr requirements
* added invalidmetadata exception
2018-06-19 02:01:59 -05:00
Kevin Froman
7864677498
+ added secrets.py
* work on communicator2, syncing blocks
* modify insertblock to use new pow metadata (may need more work for new
spec)
2018-06-16 15:54:56 -05:00
Arinerron
af237eab0b Refactor Onionr 2018-06-13 21:17:58 -07:00
Kevin Froman
083ffd8af3
work on new communicator, added some communication to peers and imported some old
communicator features

added powValue to address db, currently unused
2018-06-13 02:33:37 -05:00
Arinerron
4ec3d037e9 Few misc changes 2018-06-04 22:26:11 -07:00
Kevin Froman
a25eca2818
merge import 2018-06-04 15:24:02 -05:00
Kevin Froman
640ce593f0
removed old commented out import 2018-06-02 00:05:46 -05:00
Arinerron
cdb199e74d
Add block "chains" (ex. parent->child mergable blocks) 2018-06-01 00:02:56 -07: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
a38eb667ef
increased allowed pow id size 2018-05-18 23:06:22 -05:00
Kevin Froman
5b2e9f9265
fixed whitelist in setaddressinfo 2018-05-18 16:59:46 -05: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
Arinerron
9fdb6d8609
Create block API (todo docs) 2018-05-15 18:47:58 -07:00
Kevin Froman
03eb98fd16
fixed key pow verification 2018-05-15 00:16:00 -05:00
Kevin Froman
c13a742335
removed btc and stopped delivering pow hash 2018-05-14 23:24:38 -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