Commit Graph

1968 Commits

Author SHA1 Message Date
skoupidi
f79bd2de18 sdk, blockchain, validator: removed slot stuff 2024-02-01 19:18:42 +02:00
skoupidi
3e15d146a3 validator/consensus: cleaned up slots logic 2024-02-01 13:31:29 +02:00
skoupidi
4c45c8d592 validator: cleaned up verification and validations methods and merged the two files 2024-01-31 20:21:08 +02:00
skoupidi
ccc3a8e3a7 blockchain/header: derive block version using sdk block_version fn 2024-01-31 19:14:55 +02:00
skoupidi
07b47fd521 contract/money/pow_reward: simplyfied call to use last block information directly from database overlay 2024-01-30 20:59:23 +02:00
skoupidi
6b74cebdd0 drk: moved contracts sql stuff from their client to drk directly
Also prefixed table name with their corresponding contract idfff
2024-01-30 15:34:12 +02:00
zero
42a6b92ec6 drk: move coin_blind to the correct position 2024-01-30 13:11:13 +01:00
zero
85cbf1f152 drk: update for changes to serial renamed to coin_blind 2024-01-30 12:22:07 +01:00
skoupidi
4648b8fb26 darkfid/tests: disable pos test 2024-01-29 22:20:38 +02:00
skoupidi
16103b84a7 Night of the living dead 2024-01-29 21:41:01 +02:00
skoupidi
a7120c6fca lilith: remove missleading todo
We can't configure multiple networks with same name in .toml files so they are already differentiated. Additionally, each one will use their configured version attribute as app network version.
2024-01-27 01:05:13 +02:00
skoupidi
9a2fad2c0f drk: replaced rest hardcoded balance base10 decimals with the const 2024-01-26 16:28:13 +02:00
draoi
cecf284cef net: create system::run_until_completion() to ensure ping_node() does not create zombie process
This commit refactors the ping_node method to use a system function
called run_until_completion(), which ensures a task will safely complete even
if it's parent task has been cancelled.

This happens in ping_node() in the case the handshake is ongoing but the
p2p network has been destroyed.

We also introduce a timeout for ping_node() to prevent
perform_handshake_protocols from running forever and blocking
channel.stop() from being safely invoked.
2024-01-26 11:10:44 +01:00
dasman
0567c219bd bin/darkirc: [commitbot] replace pusher name with committer's 2024-01-25 23:37:43 +03:00
skoupidi
0e400fb299 drk/Cargo.toml: missing darkfi feature added 2024-01-25 20:28:36 +02:00
skoupidi
8c8db819f2 drk: script kiddies be gone 2024-01-25 18:55:47 +02:00
skoupidi
3062597fca drk is back in the menu boys 2024-01-25 18:52:03 +02:00
skoupidi
2f6bb5748f drk2: Dao functionality added 2024-01-25 18:44:38 +02:00
parazyd
cf2a5fcc44 darkirc: Add "hostlist" to config 2024-01-23 17:26:59 +01:00
aggstam
342106e2ac drk2: Completions functionality added 2024-01-23 16:02:31 +02:00
aggstam
8ebcfe3222 drk2/dao: updated to latest changes 2024-01-23 16:02:04 +02:00
Dastan-glitch
2f0d966491 update darkirc tmux test session 2024-01-23 05:16:38 +03:00
aggstam
f9683b867e drk2: Token functionality added 2024-01-22 20:33:18 +02:00
aggstam
531ead2cb5 drk2: OTC swap functionality added 2024-01-22 16:26:07 +02:00
aggstam
31dd5d6208 drk2: Transfer functionality added 2024-01-22 15:34:37 +02:00
aggstam
1fcbfdded9 drk2: Explorer functionality added 2024-01-22 14:03:41 +02:00
aggstam
4cc4082bb2 darkfid2: notify subscribers for new blocks 2024-01-21 23:41:14 +02:00
aggstam
d440003fd1 drk2: Unspend, Inspect, Broadcast, Subscribe, Scan and Alias functionalities added 2024-01-21 23:40:29 +02:00
aggstam
cf56a07c3d drk2: finished up wallet subcommand functionality 2024-01-21 15:14:51 +02:00
aggstam
cebeacd858 drk2: addresses functions added and simplified some internal calls 2024-01-21 14:29:38 +02:00
aggstam
6ba1fb5947 drk2: retrieval of multiple db records added 2024-01-20 19:50:02 +02:00
lunar-mining
15d5f7e6d4 lilith: select last element from the whitelist, not random element
this reduces the chance of the same element being selected twice consecutively (would only happen consecutively whitelist has a length of 1)
2024-01-20 14:43:59 +01:00
aggstam
0800757693 drk2: initialize schemas 2024-01-20 13:42:09 +01:00
aggstam
f5a9cf3e96 drk: drk rewritte skeleton added 2024-01-20 13:42:09 +01:00
parazyd
d3fae80d5a chore: Update copyright year in license headers 2024-01-18 19:30:56 +01:00
aggstam
c7248f44f6 darkfid2: parse network config directly from the config file, not as flattened arg 2024-01-18 19:30:31 +01:00
aggstam
efe6f39041 darkfid2: use minerd to mine blocks, validator: cleaned up threads info as its not longer required 2024-01-18 19:30:31 +01:00
parazyd
31d0d2f617 validator: Configurable fee verification, incomplete
It's now only used in add_transactions(), but needs to be in other
places as well.
2024-01-18 19:30:31 +01:00
parazyd
4ec1daa589 chore: Enable some additional arti-client crate features
Additionally perform a dependency update.
2024-01-18 19:30:31 +01:00
parazyd
7240e6251f chore: Clippy lints 2024-01-18 19:30:30 +01:00
parazyd
77f3c0d079 net: Port from deprecated async-rustls to futures-rustls.
This is also a protocol-breaking change. We now have a bit looser
certificate verification that does not append the base32-encoded
public key into the altName.
2024-01-18 19:30:30 +01:00
parazyd
857ebb42bf chore: Update crate dependencies 2024-01-18 19:30:30 +01:00
Dastan-glitch
25e696e03b fix & update darkirc test script 2024-01-18 19:30:30 +01:00
Dastan-glitch
da8d143ef1 fix&update Twitter bot 2024-01-18 19:30:30 +01:00
lunar-mining
f3361db4c4 lilith: change hostlist paths on default config 2024-01-17 14:31:38 +01:00
lunar-mining
eda5c69af4 lilith: add whitelist_refinery task
Lilith now periodically pings nodes on its whitelist, updating their
last_seen field if they are active, otherwise downgrading them to
greylist.

This is to prevent Lilith from sharing inactive peers with other hosts
when it shares its whitelist.
2024-01-17 14:27:51 +01:00
lunar-mining
c7cf7d861d lilith: change no hostlist warning to fatal panic 2024-01-10 14:53:29 +01:00
lunar-mining
995ff6f6c2 lilith: add hostlist path to NetInfo and default config 2023-12-29 17:29:26 +01:00
lunar-mining
b456d8f5ec lilith: remove load and save host functionality (made redundant by greylist upgrade) 2023-12-29 17:28:15 +01:00
lunar-mining
065f254661 lilith: comment out broken load_hosts code and add FIXME note 2023-12-29 17:25:44 +01:00