херетик
130518ca68
located mutex lock bug, enabled mutex where it should be
...
todo: spawning multiple threads
2023-04-23 18:40:16 +01:00
херетик
c4a77be7fe
updated to put duration since startup in debug timestamp
2023-04-23 18:10:33 +01:00
херетик
707ba93dc4
dispatcher test working
...
though mysteriously none of the mutex locking seems to work properly, for now, ok
2023-04-23 16:57:41 +01:00
херетик
bd5568f574
parity calculation seems to be sorta working
2023-04-23 11:22:52 +01:00
херетик
a651efcf57
improved logging on acks
2023-04-22 09:48:56 +01:00
херетик
5828b96ef3
test sends and acks correctly
2023-04-22 09:42:08 +01:00
херетик
6f657556cc
removing old proc guff
2023-04-21 20:23:46 +01:00
херетик
a699af81b1
dispatcher test working and completing itself
2023-04-21 17:14:37 +01:00
херетик
61e92052cd
improved logging
2023-04-21 15:54:54 +01:00
херетик
e32aa4d699
doesn't ack unrecognised messages
2023-04-21 15:42:06 +01:00
херетик
e8918b6b5e
Merge branch 'distro'
2023-04-21 15:08:54 +01:00
херетик
b54e31d075
magic all 4 bytes, partly working dispatcher test
2023-04-21 15:08:38 +01:00
херетик
c557da8f93
dispatcher test starting to work a bit
2023-04-20 20:30:01 +01:00
херетик
de1f6b705d
minor tidies
2023-04-17 13:08:42 +01:00
херетик
3f5a39642c
separated onions from engine fully
...
some stuff had to get merged into it due to circular dependencies so I guess what is in onions now is all onions.
2023-04-17 12:30:04 +01:00
херетик
fd52514bc3
onion separated from engine
2023-04-17 11:43:17 +01:00
херетик
b1fae2f52d
engine interface
2023-04-17 11:24:16 +01:00
херетик
d8f5a63aaf
sessionmanager finally out
2023-04-17 09:41:48 +01:00
херетик
b99f8be1c7
node, transport, services, moved out
...
😅 nearly done the breakdown
2023-04-17 09:07:03 +01:00
херетик
d848ecd0a9
moved out segment, node, packet, sessiondata
2023-04-17 08:47:47 +01:00
херетик
eab52203dc
moved services and payments out of engine
2023-04-17 08:34:45 +01:00
херетик
2e57869cbb
moved codec interface out
2023-04-16 19:03:54 +01:00
херетик
f2f3f92716
separated transport interface, abstracted engine in Onion interface
2023-04-16 18:22:04 +01:00
херетик
293204a514
consolidated skins, separated splice, mock, crypto helpers
2023-04-16 17:43:47 +01:00
херетик
38cdf0d867
change back to onion
2023-04-16 16:13:30 +01:00
херетик
667ba184ca
using duplex exclusively with looping sim
...
one channel = two channels one send one receive, send forwards to receive. A single channel would also behave the same way but this illustrates the general principle of where you put the processing loop or forwarding in a pipeline.
Sending to sender puts it in the transport's parent buffer, it is then processed somehow (eg copied) and then sent out another channel that someone is listening on. This is how the Conn works, creating a single form for multiple use cases. Really it's a read/writer/closer but just haven't coded it that way (yet!)
2023-04-16 12:44:21 +01:00
херетик
c2bd20fd57
made all transport usage consistent
2023-04-16 11:42:26 +01:00
херетик
8ecbba0a50
added error ewma to make a relatively consistent time/change window
2023-04-15 16:02:14 +01:00
херетик
e3ed4c783e
corrected parity divergence
2023-04-15 15:49:01 +01:00
херетик
5f17dd798e
acks and readjustment
2023-04-15 15:25:12 +01:00
херетик
cbb81c13a4
ensuring locking everywhere it should be
2023-04-15 12:54:11 +01:00
херетик
032a206d49
re-fixed listener test
2023-04-14 20:58:58 +01:00
херетик
f45ca1a449
reorganising things
2023-04-14 20:36:00 +01:00
херетик
53329b6fa2
integrated mung type with new hierarchy of things
2023-04-14 16:40:29 +01:00
херетик
1858207be8
added codec and magic for mung type
...
mung until no good! ratchetpoison^2!
2023-04-14 11:43:24 +01:00
херетик
0d58f2ec01
inbound message accounting, codecs for dispatcher messages
...
and a couple new splice methods
2023-04-14 11:33:26 +01:00
херетик
bfe5184e01
split select cases into functions with nice informative names
2023-04-14 09:42:03 +01:00
херетик
43b66d81c1
using big.Int to eliminate overflow conditions after 4Tb
2023-04-13 16:19:51 +01:00
херетик
c068f2fecf
collates packets, sends complete messages, most of GC done
2023-04-13 10:41:00 +01:00
херетик
4a216227ec
cleaning up based32 stuff
...
Removed several unused base32 encoders, centralised the cipher set in one package where other constants will also go later.
2023-04-13 09:26:57 +01:00
херетик
4be782f317
pinger and EWMA, split and send
2023-04-13 09:08:06 +01:00
херетик
2784385689
consolidate duplex byte chans, improvements of comments
...
now forms a pipeline, ready to split and shuffle message segments, receives new packets from the connection.
2023-04-12 08:13:43 +01:00
херетик
61f7b8f00d
added hash to tx/rx record and document the fields
2023-04-12 07:05:41 +01:00
херетик
ab1a12d448
added tx/rx record and pending records lists
2023-04-11 20:12:25 +01:00
херетик
e0198bd5ac
starting on message segmenting pipeline
2023-04-11 19:49:07 +01:00
херетик
5fb662e358
renamed everything in transport to be ... the transport
2023-04-11 17:12:52 +01:00
херетик
a7acca4be1
locking and accessors for listener's connection list
2023-04-11 16:21:02 +01:00
херетик
fef6ee0d21
fully working listen and connect->conn
2023-04-11 15:54:39 +01:00
херетик
4e50e8e24c
message test shows working
2023-04-11 14:13:00 +01:00
greg stone
45486eca4c
bumping lnd to 0.16.0-beta
2023-04-11 14:12:09 +01:00