Commit Graph

2035 Commits (7820c87b79fefbea2b30d41117fcf5e4a393fd5e)

Author SHA1 Message Date
Kevin Froman 31236eea84
hopefully issues with keyboardinterrupt 2018-07-07 19:26:01 -05:00
Kevin Froman 8727dc2241
Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2 2018-07-07 19:03:46 -05:00
Arinerron bdb9fa8cc4 Misc updates 2018-07-05 21:27:12 -07: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 c083d54abb Merge branch 'refactoring2' of https://gitlab.com/beardog/onionr into refactoring2 2018-07-04 12:07:27 -07:00
Arinerron bd3a3bfeed Fix type bug 2018-07-04 12:07:17 -07:00
Kevin Froman bd819a3ba6
* fixed validateMetadata not having self
+ added isIntegerString
* other fixes
2018-07-04 13:49:43 -05:00
Kevin Froman 80648cc920
added kex command 2018-07-03 18:44:12 -05:00
Kevin Froman 6f761aaeff
do not have linebreak in own hsaddr 2018-07-03 16:27:42 -05:00
Kevin Froman 58110e461e
improving new communicator bootstrapping, do not connect to self 2018-07-03 16:24:14 -05:00
Kevin Froman 267220ad72
only attempt announce with online peers 2018-07-03 14:26:53 -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 efb049fddd
fixed indent in test 2018-07-02 16:20:19 -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 75bb8a11bd
do not fail on plugin import 2018-07-02 16:08:47 -05:00
Kevin Froman c4ae80c4a2 Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2 2018-07-02 15:40:55 -05:00
Kevin Froman 9d107950fd
re(added) pysocks dependency 2018-07-02 15:39:12 -05:00
Kevin 027c224084 use python3 in tests 2018-07-02 20:34:39 +00:00
Kevin a2567eacc2 updated ci test yml 2018-07-02 20:28:36 +00:00
Kevin 5d05619681 + added gitlab ci file 2018-07-02 20:01:49 +00: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 f5bd9220fc
improved communicator2 comments 2018-07-01 23:04:14 -05:00
Kevin Froman 5c49f544fe documented communicator2 better and bootstrap better 2018-07-01 16:01:19 -05:00
Kevin Froman a2ad90f2b9 fixed invalid conn commit 2018-06-30 22:38:57 -05:00
Kevin Froman ab0e0d3ace updated requirements.txt to have defusedxml 2018-06-30 22:24:51 -05:00
Kevin 45dcfb9e08 Merge branch 'refactoring2' of gitlab.com:beardog/Onionr 2018-06-27 16:47:52 -05:00
Kevin Froman 92b0ad975f
+ Now log running seconds in heartbeat
* Do not spam "could not connect to any peer" if we have a peer connected
2018-06-26 00:26:01 -05:00
Kevin Froman 6fd0f9aded
create daemon db table if it doesn't exist 2018-06-26 00:04: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 a7d0d73b5b add new block to hash db in communicator 2018-06-21 19:57:12 -05:00
Kevin Froman 232bc4932a * fixed threadCount not lowering for getBlocks
* fixed onionrblockapi not properly converting bytes to string for block
hash
2018-06-21 19:34:42 -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 997e27b532 do not use blockapi for addmessage 2018-06-21 02:29:51 -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 829dba45cc temporarily disabled onionrblockapi metadata 2018-06-21 02:17:20 -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 b3cbdbaceb Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2 2018-06-20 14:02:17 -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
Arinerron 06b4094d45 misc changes 2018-06-19 21:51:03 -07:00
Arinerron d77bb92e28 Refactor initializer 2018-06-19 21:36:07 -07: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
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