Commit Graph

190 Commits

Author SHA1 Message Date
Arinerron 9e9595b4ec Fix header colors 2018-06-04 23:17:17 -07:00
Arinerron 4ec3d037e9 Few misc changes 2018-06-04 22:26:11 -07:00
Arinerron 8846dcc2c6
See details
- Completes support for repositories
  - `./RUN-LINUX.sh create-repository [plugins...]`
  - `./RUN-LINUX.sh add-repository <block hash>`
  - `./RUN-LINUX.sh remove-repository <block hash>`
- Fixes several misc bugs
- Refactors code
  - Some messy code was rewritten
  - Variables renamed
  - Migrated old block api (insertBlock) to new Block API (onionrblockapi)
  - Kept to standards
  - Made code more reusable in `onionrproofs.py`
- Improves logging messages
  - Added error output for some features missing it
  - Capitalized sentences
  - Added punctuation where it is missing
  - Switched `logger.info` and `logger.debug` in a few places, where it is logical
  - Removed or added timestamps depending on the circumstance
- Added a few misc features
  - Added command aliases for `add-file` and `import-blocks`
  - Improved statistics menu
    - Displays `Known Block Count`
    - Calculates and displays `Percent Blocks Signed`
2018-05-31 21:25:28 -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 16282d79d3
refactored timers and added lastconnect to address database 2018-05-18 01:22:16 -05:00
Arinerron e95feb06db
Work on block api, finish later 2018-05-14 23:43:29 -07:00
Arinerron 93338e3fb9
Add repository support 2018-05-14 23:16:55 -07:00
Kevin Froman 03eb98fd16
fixed key pow verification 2018-05-15 00:16:00 -05:00
Kevin Froman d02af9600a
removed btc and stopped delivering pow hash 2018-05-14 23:28:12 -05:00
Kevin Froman 0f455b50c9 Merge branch 'communicator-multithreading-newline' into communicator-multithreading 2018-05-14 19:45:15 -05:00
Kevin Froman 2e9af7a4a3
fix thread crash 2018-05-14 19:44:54 -05:00
Arinerron b1e9e61430
Make pluginmanager functional 2018-05-13 21:11:31 -07:00
Arinerron f0e842eae4
Fix positional argument bug 2018-05-12 23:37:47 -07: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
Kevin Froman bc88e8107c
work on pow for public keys 2018-05-07 01:55:03 -05:00
Kevin Froman 54a3557fd0
hopefully finished pow on blocks 2018-05-05 18:45:35 -05:00
Kevin Froman 9c3416e707
work on proof of work 2018-05-05 18:32:10 -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 268cd10f34 work on proof of work 2018-05-05 15:20:48 -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
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
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
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
Arinerron 7b7c4e01cb
Add debug info on exceptions 2018-05-01 23:01:20 -07:00
Kevin Froman a376e583e6 fixed missing import in crypto 2018-04-26 21:58:00 -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 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 3aa539ce82
added banner 2018-04-25 02:39:13 -05:00
Kevin Froman b0271e7779
removed secrets 2018-04-25 02:09:28 -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
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 7578ac874b
now only show block contents debug if txt 2018-04-22 21:19:57 -05:00
Kevin Froman ae79b7ee3a
fixed stupid mistake 2018-04-22 21:13:55 -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 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
Kevin Froman 8024d0e354
added introduce command 2018-04-18 21:56:25 -05:00
Kevin Froman c356b68987
improved some debug info and REMOVED STRAY INPUT() 2018-04-18 21:18:38 -05: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 7369b63614
Update logging 2018-04-18 18:47:35 -07:00
Kevin Froman 77f811c455
added intruction for nodes 2018-04-18 20:17:47 -05:00
Kevin Froman a611643526
pex/kex hopefully now working 2018-04-03 16:47:48 -05:00
Kevin Froman e061e516ee
increased pex timer 2018-04-03 13:20:27 -05:00
Kevin Froman 6dafcffd5a
added cryptotests 2018-04-02 02:21: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 0b192ffb9b
do not request offline peers too often and updated logo 2018-04-01 00:46:34 -05:00
Kevin Froman 24540abe6b
finished pub encrypt function 2018-03-16 15:38:33 -05:00
Kevin Froman cb3015652a
peer/key exchange work (mostly done) 2018-03-16 10:35:37 -05:00
Kevin Froman 9229fd9984
disabled btc 2018-03-03 20:28:17 -06:00
Kevin Froman 3813ee56ef
fixed issues from plugin addition 2018-03-03 03:18:53 -06:00
Arinerron cc4687021a
Migrate from old dev-enabled to devmode 2018-03-02 23:37:46 -08:00
Arinerron ab17e0d198
Add plugin support 2018-03-02 20:19:01 -08:00
Kevin Froman 17d1b9e340
work on pex 2018-03-01 03:20:57 -06:00
Kevin Froman 15aa395946
work on crypto 2018-02-28 03:06:02 -06:00
Kevin Froman 5564d540cb
renamed pow to onionrproofs since pow is a taken keyword 2018-02-27 19:44:00 -06:00
Kevin Froman fc5d702706
bug fixes 2018-02-27 18:00:37 -06:00
Kevin Froman 3033de1d9e
communicator now starts tor node 2018-02-27 03:33:26 -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
Kevin Froman af24f16538
fix merge conflict 2018-02-22 02:42:55 -06:00
Kevin Froman f39ab33517
added hash validation test and cleaned up output 2018-02-22 02:41:05 -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 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 a0dc95c291
work on peer private messages (& crypto) 2018-02-08 03:14:32 -06:00
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
Kevin Froman 2769673abd hopefully fixed block issues 2018-02-02 03:15:28 -06:00
Kevin Froman dd9a54f7c6
added addpeer command and misc bug fixes 2018-01-29 01:05:02 -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