Commit Graph

19 Commits

Author SHA1 Message Date
Csaba Kiraly 197cd75b24
start sampling after sampling_delay time
- start sampling after set time
- improve upload time measurement

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:59:58 +02:00
Csaba Kiraly fabb1dc725
remove useless import
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:59:58 +02:00
Csaba Kiraly aa487fa340
log simTime
log virtual time from beginning

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:59:58 +02:00
Csaba Kiraly ba6949dd1c
use Duration for delay_init
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:59:57 +02:00
Csaba Kiraly 41c9307386
follow renaming of dht repo
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:59:57 +02:00
Csaba Kiraly 99873b2684
dht: new branch with findValue and fixes
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:59:57 +02:00
Csaba Kiraly f717bab2be
override signed_envelope to gain speed
No need to sign and verify signatures in these tests,
so we can safely disable this.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:21:35 +02:00
Csaba Kiraly 0dc4b24833
patchfile: override chronosim
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-05 10:21:34 +02:00
Csaba Kiraly 1ff65e29f4
chronosim: simplify timer
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-08-14 15:05:50 +02:00
Csaba Kiraly f24ca72de0
use chronosFutureDuration to measure time
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-07 11:55:37 +02:00
Csaba Kiraly 2c7685229d
fix compilation on Linux: add threads
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-22 20:36:20 +02:00
Csaba Kiraly 05fd544720
fixes to dht
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-22 20:14:22 +02:00
Csaba Kiraly 6eb3af41d2
moving the NOP cipher to this repo
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-15 11:55:48 +02:00
Csaba Kiraly c9d20230bf
make chronosim work through patchFile
patchFile is not a perfect solution, e.g. needs some
handling of circular references, but seems to work
good enough

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-15 11:38:50 +02:00
Csaba Kiraly e76deb7e19
adding chronosim from dht repo
97d9b37c17/libp2pdht/private/eth/p2p/discoveryv5/chronosim.nim

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-15 11:36:29 +02:00
Csaba Kiraly fd0c0fe2de
extending README
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-13 16:03:24 +02:00
Csaba Kiraly c5adc03b57
adding quick start instructions
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-13 13:37:57 +02:00
Csaba Kiraly 05d1ed4a43
fixing "Crypto scheme must be secp256k1"
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-13 13:25:48 +02:00
Csaba Kiraly ed05ebba46
initial commit of the DAS DHT emulator
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-06-13 12:47:26 +02:00