Commit Graph

454 Commits

Author SHA1 Message Date
херетик
745db8f27a Refactored onion generators into onion types 2023-06-01 08:11:28 +01:00
херетик
d242bd4874 moved registry and ad/gossip interface out of onions 2023-06-01 06:54:46 +01:00
херетик
3acd24530e registry in separate package 2023-06-01 06:22:53 +01:00
херетик
3933686e82 moved utility function out, tidied bits and pieces. 2023-05-31 19:14:00 +01:00
херетик
bba55f8d9a Renamed onions tests to match their package name. 2023-05-31 18:59:59 +01:00
херетик
03305b91e9 added some missing validations 2023-05-31 12:53:18 +01:00
херетик
d7cf030a6d All peerstore records encode/decode tests pass 2023-05-31 12:46:53 +01:00
херетик
a81ac4658d Added factory MakeCodec function to onions 2023-05-31 10:33:18 +01:00
херетик
0319d8fe34 service and intro ads fully testing 2023-05-31 09:05:15 +01:00
херетик
dd2482218a restructured intro ad type 2023-05-30 15:43:46 +01:00
херетик
826fb683c0 restructuring ads and implementing the type 2023-05-30 12:37:26 +01:00
херетик
23c2bd2231 Don't need this, using the peer store 2023-05-30 12:15:25 +01:00
херетик
774debbb94 Cleaning up in preparation to set up peer info ads 2023-05-30 10:44:10 +01:00
херетик
b604746c57 tidying tests 2023-05-29 21:01:11 +01:00
херетик
e201947968 fixing addresses
how did this even work on the ci???
2023-05-29 17:34:41 +01:00
херетик
69c1d48c3b moving test that somehow ended up in wrong package 2023-05-29 16:40:44 +01:00
херетик
1454dafcc2 removing unused and irrelevant things 2023-05-29 16:33:01 +01:00
херетик
78da495038 reinstated rekey test 2023-05-29 15:53:04 +01:00
херетик
69de0b1d65 turning off github workflows because they don't play nice with libp2p 2023-05-29 15:43:21 +01:00
херетик
3968ad51b6 being a bit french about this network glitch. how libp2p tests working 2023-05-29 14:23:28 +01:00
херетик
1688089a83 removed waitgroup
Seems to work fine, although why it counts 3 for every loop sending 2 messages needs to be looked at eventually
2023-05-29 12:47:59 +01:00
херетик
ef050d4242 removed waitgroup
Seems to work fine, although why it counts 3 for every loop sending 2 messages needs to be looked at eventually
2023-05-29 12:36:26 +01:00
херетик
de26a1fd55 fixing waitgroup bug 2023-05-29 12:27:43 +01:00
херетик
32a13c0e38 using gofmtsort to try and make things a bit easier to splice and find 2023-05-29 12:20:55 +01:00
херетик
6cc59cf124 properly fixed bug in dispatcher test
was adding and taking away wrong numbers
2023-05-29 10:04:48 +01:00
херетик
240bfee969 bug fixed in dispatcher
QUIC failing to cope with extremely large amounts of traffic at high
speed. Works fine now with tcp. QUIC will not be used.
2023-05-29 09:57:27 +01:00
херетик
3fdc109235 longer delay for slower test runner 2023-05-29 09:06:22 +01:00
херетик
e60f04d99d Nicer labels, build all 2023-05-29 09:00:29 +01:00
херетик
a695e36acd fixed test that is getting stuck probably due to race
the race is not in the implementation but in the test, note for later
to fix this.
2023-05-29 08:54:12 +01:00
херетик
c2e77ccf50 Added missing test for private key based32 encoding
general cleanup of based32 stuff, emphasising baseD to distinguish it
from the default
2023-05-29 08:28:07 +01:00
херетик
8a24f9ba30 intro, service and peer messages defined, start of data store 2023-05-23 17:44:46 +01:00
херетик
6e07a46c3a signature based32 format 2023-05-21 12:51:01 +01:00
херетик
7dd4f45985 stubs for address, service based on peer 2023-05-20 13:33:13 +01:00
херетик
5914f51f8b adding relay rate and port to tests using intro 2023-05-20 10:34:16 +01:00
херетик
7e2dea578d hidden service intro with rate and well known port 2023-05-20 10:04:21 +01:00
херетик
5d25e387bc fixed failing tests 2023-05-19 16:54:23 +01:00
херетик
c482cd08cf combined gossip function (yay interfaces) 2023-05-19 16:47:48 +01:00
херетик
0655cc38f2 added gossip to peerinfo interface 2023-05-19 16:41:21 +01:00
херетик
21bd5e5946 added PeerInfo interface for p2p kv store values 2023-05-19 16:33:06 +01:00
херетик
438b0e8597 copied intro struct into new peer struct 2023-05-18 19:29:55 +01:00
херетик
7037155b3a change default to quic, remove security layer
we have a scheme already for encryption based on sessions and node identity keys
2023-05-18 13:39:17 +01:00
херетик
4245a3c3b3 interrupt handler print 2023-05-18 13:21:21 +01:00
херетик
8add49cfd9 added back badger persistence 2023-05-18 13:12:04 +01:00
херетик
fce7879977 bumping version v0.1.12 2023-05-18 12:39:10 +01:00
херетик
654916462d Revert "remove introquery start on dht key/value schema"
This reverts commit 39ff6ec8
2023-05-18 12:33:09 +01:00
херетик
691143ac70 reinstating gossip propagation 2023-05-17 12:14:35 +01:00
херетик
262d172920 disabled tests related to introquery and route 2023-05-15 10:35:58 +01:00
херетик
6db015536b Merge branch 'protocol'
# Conflicts:
#	pkg/engine/engine_test.go
#	pkg/engine/hiddenservice_test.go
#	pkg/engine/onions/introquery_test.go
2023-05-15 10:33:17 +01:00
херетик
dd1e0961a3 completed draft of advertisement DHT codec 2023-05-15 10:32:49 +01:00
херетик
100d06f27b stubs for address and service codecs 2023-05-13 22:54:47 +01:00