Commit Graph

257 Commits

Author SHA1 Message Date
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
Arinerron adc85c76c4
Improve console output and status message 2018-05-10 20:19:48 -07:00
Kevin Froman 193845104e
onionr can now import blocks from disk 2018-05-10 02:42:24 -05:00
Kevin Froman 5813190cc4 work on pow for public keys 2018-05-07 02:46:07 -05:00
Kevin Froman bc88e8107c
work on pow for public keys 2018-05-07 01:55:03 -05:00
Kevin Froman 1f8eb925c6 work on proof of work 2018-05-05 17:36:03 -05:00
Kevin Froman 7d9936e55c work on proof of work 2018-05-05 16:50:15 -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 ff5bdd62f2
work on fixing mallable metadata & thread work 2018-05-05 01:19:25 -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 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 3cba6b30c7
working on issue for hashid being bytes on some versions 2018-04-26 19:04:35 -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 66e55d5a50
efficiency improvements 2018-04-25 17:42:42 -05:00
Kevin Froman c8fce63412
fixed invalid sqlite3 2018-04-25 02:20:10 -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 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
Kevin Froman c807056ef2
convert data to bytes if it isnt 2018-04-22 21:24:34 -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 Froman 4ff6baa279
fixed messed up message for missing bootstrap file 2018-04-22 18:38:32 -05:00
Kevin Froman 7706d4e04c
added self check, bootstrap node file 2018-04-22 18:35:00 -05:00
Arinerron 098abb8e55
Improve support for plugins 2018-04-20 20:10:50 -07:00
Kevin Froman 8024d0e354
added introduce command 2018-04-18 21:56:25 -05:00
Arinerron 1332e9ee9e
Add some error handling 2018-04-18 19:16:10 -07:00
Kevin Froman 77f811c455
added intruction for nodes 2018-04-18 20:17:47 -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 2071def07b
fixed pubkey exchange hopefully 2018-04-03 20:54:49 -05:00
Kevin Froman 9ecd87595b
work on pm and fixed broken pex when none 2018-04-03 19:45:13 -05:00
Kevin Froman 87a9ecf426
work on pm and fixed broken pex when none 2018-04-03 19:42:20 -05:00
Kevin Froman 8d261b03dc
work on pm and fixed broken pex when none 2018-04-03 19:34:15 -05:00
Kevin Froman a611643526
pex/kex hopefully now working 2018-04-03 16:47:48 -05:00
Kevin Froman 28fd4f4858
now share own pubkey 2018-04-03 14:39:58 -05:00
Kevin Froman 8022781a8f
lot of work on OnionrCrypto
updated logo
fixed broken peerinfo functions in core
removed gnupg from travis installation
2018-04-01 19:33:09 -05:00
Kevin Froman cb3015652a
peer/key exchange work (mostly done) 2018-03-16 10:35:37 -05:00
Kevin Froman fc5d702706
bug fixes 2018-02-27 18:00:37 -06:00
Kevin Froman d0593ef300
added address add command and test 2018-02-27 15:23:49 -06:00
Kevin Froman cf3af5b8c6
work on pow 2018-02-25 20:30:43 -06: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 005273b52c Merge branch 'crypto' of https://github.com/beardog108/onionr into crypto 2018-02-21 22:42:04 -08:00
Arinerron b0039f534c
Changes, forgot 2018-02-21 22:42:02 -08:00
Kevin Froman 882f2e7020
fixed crypto object created before directories are generated 2018-02-22 00:02:29 -06:00
Kevin Froman 38bfee5344
work on seperating pubkey from tor/i2p 2018-02-21 03:32:31 -06:00
Kevin Froman 586e9230cd
fixed message spam, rewrote draft, work on crypto 2018-02-20 20:44:56 -06:00
Kevin Froman 895b1919fd removed PGP 2018-02-15 23:31:30 -05:00
Kevin Froman 4948712904
work on peer encryption 2018-02-07 03:04:58 -06: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
Kevin Froman 2769673abd hopefully fixed block issues 2018-02-02 03:15:28 -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 dd9a54f7c6
added addpeer command and misc bug fixes 2018-01-29 01:05:02 -06: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 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 0ca84c9759
check for bytes hash type in setData 2018-01-28 20:14:46 -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 63b4c88d06
moved processblocks to communicator and fixed bool error in validatehash 2018-01-28 15:59:13 -06: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 59b4a887c7
properly close setpeerinfo db 2018-01-27 20:05:55 -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 5457e1fdb7
onionr now responds with data properly 2018-01-27 15:49:48 -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 cb63941fc9
work on processing blocks 2018-01-26 19:16:15 -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 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 d0a93ef2de added check for travis in gpg homedir 2018-01-20 12:23:01 -06:00
Kevin Froman 6a1a448eab
fixed pgp generation, work on onion 2018-01-20 01:23:09 -06:00
Kevin Froman 9d91e77ec5
work on net controller 2018-01-19 03:16:38 -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 813e98a801
improved project structuring 2018-01-14 22:57:23 -06:00