Commit Graph

2147 Commits

Author SHA1 Message Date
aggstam
b8566fdc03 p2pnet/hosts.rs: filtering tests added 2022-10-10 21:27:53 +03:00
mohab metwally
0222c9c9a2 little pruning 2022-10-10 15:42:37 +02:00
mohab metwally
7392d00e4c [stakeholder] merge leadcoin keypair with minted owncoin 2022-10-10 15:39:34 +02:00
Luther Blissett
63e28ca1b5 cargo fmt. 2022-10-10 14:53:49 +02:00
Luther Blissett
9b0f68460d drk: Draft code for contract deployment. 2022-10-10 13:33:09 +02:00
aggstam
693cb1b808 clock, stage_usage_analyser: fixed broken dependencies 2022-10-10 13:33:52 +03:00
mohab metwally
e2d818d518 [clock] update test case 2022-10-10 12:17:48 +02:00
mohab metwally
fca2e499a6 [clock] moved clock to consensus 2022-10-10 11:58:17 +02:00
Luther Blissett
766c07c72c util: Add base32 encoding. 2022-10-08 13:24:17 +02:00
aggstam
53f74b4eb4 p2pnet/hosts.rs: minor changes 2022-10-08 13:35:12 +03:00
Luther Blissett
cc29c115c6 net/hosts: Minor changes. 2022-10-08 12:13:55 +02:00
aggstam
fac5cf0c05 p2pnet/hosts.rs: refactor filterring, debug logging added 2022-10-07 14:14:41 +03:00
aggstam
fdcc7b11bd p2pnet/hosts.rs: acquire lock outside of store loop 2022-10-07 12:28:05 +03:00
Luther Blissett
3539a77584 serial: WIP enum (de)serialization. 2022-10-07 03:16:22 +02:00
Luther Blissett
c769fd42ec Update dependency versions and remove env_logger dep. 2022-10-07 00:58:48 +02:00
Luther Blissett
e7bc898923 darkwikid: main.rs improvements, and cleanups.
* Use dryoc for crypto_secretbox instead of public-key encryption.

* Detach raft task to background (this needs a good rework, current
  design is suboptimal).

* Remove ctrlc and add signal-hook to handle signals

* Upon SIGHUP, reload workspace secrets from the TOML config file.
2022-10-07 00:50:40 +02:00
aggstam
aa4386c373 p2pnet/oubound_session/try_connect(): remove addr from hosts if connection fails 2022-10-06 20:51:38 +03:00
aggstam
34dff4e2d2 p2pnet: validate external address of inbound connection 2022-10-06 20:51:38 +03:00
Luther Blissett
2ccb6bbabf net/p2p/broadcast: Broadcast messages to peers concurrently. 2022-10-06 18:02:41 +02:00
Luther Blissett
88abda32ce make fix and cargo fmt. 2022-10-06 14:21:56 +02:00
Dastan-glitch
ce9accca1a src/stakeholder: fix await blocks, plus extra info logs 2022-10-05 18:32:42 +03:00
ghassmo
e5e09726b9 run cargo fmt 2022-10-03 11:43:05 +04:00
mohab metwally
55db03e144 [stakeholder/stakeholder] fix mint/burn value 2022-09-30 17:45:00 +02:00
mohab metwally
85096c5caa [stakeholder/stakeholder] burn/mint lead coin 2022-09-30 17:27:07 +02:00
mohab metwally
190c43eea2 [stakeholder/stakeholder] finalize coin 2022-09-30 17:27:07 +02:00
mohab metwally
2af9a7cd8d [stakeholder/stakeholder] leadcoin based off owncoins, slot with multiple competing coins 2022-09-29 17:29:59 +02:00
mohab metwally
df690f54b8 [blockchain/epoch] remove EpochItem from EpochConsensus 2022-09-29 17:29:53 +02:00
Luther Blissett
b658d77b0d darkfid: Move transaction simulation into a separate fn and add a sim RPC endpoint. 2022-09-29 09:15:39 +02:00
mohab metwally
32a8b83ae2 prune few comments 2022-09-27 11:46:30 +02:00
mohab metwally
c8f42e12b8 [stakeholder/stakeholder] fix bug in the num slot count 2022-09-27 11:46:30 +02:00
aggstam
366c917021 p2pnet: patch validate hosts ips before storing: added missing ranges 2022-09-26 22:59:39 +03:00
aggstam
d8b440b831 p2pnet: validate hosts ips before storing 2022-09-26 22:39:26 +03:00
aggstam
a5dc158f90 p2pnet: optional channel log implemented 2022-09-26 15:33:48 +03:00
Luther Blissett
77a68942df cargo fmt 2022-09-26 13:09:00 +02:00
Luther Blissett
b0989905cc net/channel: Fix p2p logging memory leak. 2022-09-26 12:56:56 +02:00
mohab metwally
0f7902a968 prune unused imports in example/lead, util/clock 2022-09-25 20:16:41 +02:00
mohab metwally
95bb88cb24 [util/clock] add comments, tests 2022-09-25 20:16:41 +02:00
ghassmo
6703111d60 serial/derive: show error when use for enums 2022-09-25 13:36:00 +04:00
Luther Blissett
6fc5b43d54 Mop up dependencies and features. 2022-09-24 19:18:14 +02:00
Luther Blissett
c10d4f140b Make "util" module not depend on "rpc" (and in turn "net"). 2022-09-24 16:02:19 +02:00
Luther Blissett
5f56936668 rpc/websockets: Port to rustls. 2022-09-24 16:02:19 +02:00
Luther Blissett
76c25f06a1 Change import references in library to the new serial module. 2022-09-24 16:02:19 +02:00
Luther Blissett
0e5502f5d5 Move serialization library into its own submodule. 2022-09-24 16:02:19 +02:00
mohab
7409b9821b [stakeholder/stakeholder] replace println with log target stakeholder 2022-09-23 18:23:59 +02:00
mohab
0fadcaadb2 Merge branch 'master' of https://github.com/darkrenaissance/darkfi 2022-09-23 17:04:44 +02:00
mohab
356002e575 [stakeholder/stakeholder] fix blocking block sync 2022-09-23 17:04:24 +02:00
aggstam
f72050207d p2pnet:peer_discovery(): removed storage of hosts, to prevent double storing 2022-09-23 17:14:02 +03:00
Luther Blissett
3b27bde7ac rpc/server: Enlarge recv buffer to 81920 bytes. 2022-09-23 15:46:45 +02:00
Luther Blissett
4fa750c631 crypto/proof: Remove stray println calls. 2022-09-23 15:11:11 +02:00
Luther Blissett
cda5e46f1a crypto: Clippy lints. 2022-09-23 13:59:01 +02:00