aggstam
bca5527c7b
drk: removed coin_blind from hashes
2023-06-19 21:38:20 +03:00
parazyd
33c286f19f
contract/dao: Introduce money state snapshotting.
...
This prevents double-voting in the sense of minting new coins _after_
a proposal was created, meaning only the coins that have existed prior
to creating a certain proposal are able to vote on it.
This is done by marking down the latest Merkle root in the Money state
and attaching it to the proposal's metadata. Then this root is used for
verifying inclusion proofs when voting.
2023-06-14 14:41:24 +02:00
parazyd
b36861fa1d
contract/dao: Refactor contract code to match other native contracts.
2023-06-13 14:23:33 +02:00
parazyd
0feda5f8e5
contract/dao: Use AeadEncryptedNote from darkfi-sdk.
2023-06-12 15:03:24 +02:00
parazyd
48ce9fd7c5
chore: Update crate dependencies
2023-06-12 14:31:20 +02:00
parazyd
f085bc7e8d
drk: Use bridgetree instead of incrementalmerkletree.
2023-06-12 14:31:19 +02:00
parazyd
0d6f9600bb
drk: Clippy lint
2023-06-06 16:05:47 +02:00
parazyd
bfc99c79ea
chore: Update crate dependencies.
2023-06-06 14:06:36 +02:00
parazyd
88865e2663
drk: Replace "play" with "rodio".
...
Fun police go away.
This removes the deps on pkgconfig and libmpg123, and should ease the
build process for non GNU/Linux operating systems.
2023-06-06 14:06:36 +02:00
parazyd
09eb0e1147
sdk: Implement a macro for bs58 => pallas::Base and use it where applicable.
2023-06-06 13:16:36 +02:00
parazyd
85e548e709
drk: Clippy lint
2023-06-05 17:01:21 +02:00
parazyd
f73856ecac
drk: Store bs58 encoded transaction history in the wallet
2023-06-01 15:57:54 +02:00
parazyd
e3bf302717
drk: Temporarily disable history_record.
2023-05-30 15:47:49 +02:00
parazyd
1a540c67e0
Derive TokenID with a derivation prefix.
2023-05-30 09:34:38 +02:00
x
d1a4405a95
drk: show votes for a proposal
2023-05-29 10:32:14 +02:00
x
fd63d2f3c8
drk: add alias for dao list subcmd
2023-05-29 10:08:43 +02:00
x
348e3a8a1e
drk: dao_name is TEXT instead of BLOB
2023-05-29 09:54:41 +02:00
x
ff84ce5fe0
drk: add DAO aliases
2023-05-29 09:08:10 +02:00
parazyd
bd45042ef3
contract/money: Prepend "Token" to Money::{Mint,Freeze} namespace.
...
Mint and Freeze are too ambiguous.
2023-05-24 12:04:07 +02:00
parazyd
3cb6051fa2
chore: Update dependency versions
2023-05-11 10:08:51 +02:00
parazyd
bd6a6bfaf2
zkas: Rename "stack" to "heap".
...
"stack" is a misnomer, and the behavior of the zkVM is more heap-like
than stack-like when doing an analogy with general computing.
2023-05-10 14:35:51 +02:00
parazyd
0a1fe88665
faucetd: Implement airdrop spam protection using a VDF.
2023-05-09 13:06:59 +02:00
parazyd
9b31940dfe
chore: Update project dependencies
2023-05-09 10:42:35 +02:00
parazyd
b4cdbea08c
Update project dependencies.
2023-04-16 17:36:59 +02:00
aggstam
a3e0417c7a
drk: broadcasted transactions history handling added
2023-03-21 22:47:19 +02:00
aggstam
d8554a19e1
drk/explorer/FetchTx: printing options added
2023-03-21 16:57:37 +02:00
aggstam
cd6dc23598
drk-darkfid: added subscribe to listen for erroneous transactions
2023-03-21 16:24:05 +02:00
aggstam
230c1b1dd1
drk/alias: exit on erroneous alias size
2023-03-07 23:28:50 +02:00
parazyd
691d98d296
bin: Apply linter suggestions.
2023-03-07 12:29:51 +01:00
parazyd
43f89dbfc7
consensus: Remove erroneus tx logic.
2023-03-06 20:10:01 +01:00
parazyd
4e3b863cda
Release v0.4.1
2023-02-25 16:00:20 +01:00
parazyd
8a1f640912
drk: Output a little note when subscribing for block notifications.
2023-02-25 14:20:31 +01:00
parazyd
79aba52132
drk: Fix OtcSwap join tx.
2023-02-25 14:20:30 +01:00
parazyd
b4119a3703
drk: Basic inspection of PartialSwapData.
...
Needs more love.
2023-02-25 14:20:30 +01:00
aggstam
99bbe777b9
drk/swap: support aliases, doc/testnet: update payment and atomic swap with aliases
2023-02-25 14:20:30 +01:00
aggstam
c16fc441c3
drk/token: support aliases on mint and freeze, also display on list
2023-02-25 14:20:30 +01:00
parazyd
23b6b110c5
drk: Update wallet metadata when tokens are being frozen.
2023-02-25 14:20:30 +01:00
parazyd
e67f133be8
drk: Token mint freezing
2023-02-25 14:20:30 +01:00
parazyd
6c2dc8f9bc
drk: Arbitrary token minting.
2023-02-25 14:20:30 +01:00
parazyd
bc09a2c6ff
drk: List imported token authorities.
2023-02-25 14:20:30 +01:00
parazyd
3d7bd42ccf
drk: Implement generation of new mint authorities.
2023-02-25 14:20:30 +01:00
parazyd
97de8cc2b6
drk: Implement token mint authority import.
2023-02-25 14:20:30 +01:00
parazyd
23b3f9f59a
drk: New Swap API
2023-02-25 14:20:30 +01:00
parazyd
a9a9146b7c
drk: Update transfer API
2023-02-25 14:20:30 +01:00
aggstam
6f0bcf99a5
drk: base58 encoding for spend_hook and user_data in wallet --coins
2023-02-20 14:09:12 +02:00
aggstam
c34ef03178
drk: show spend_hook and user_data on wallet --coins
2023-02-20 14:02:01 +02:00
Dastan-glitch
e972d3cfb4
bin/drk: shell tab completions added
2023-02-19 05:55:45 +03:00
aggstam
4292006959
drk: use aliases for actions
2023-02-18 21:28:26 +02:00
aggstam
cd8c619503
drk: restrict aliases to 5 characters
2023-02-18 21:01:43 +02:00
aggstam
e052633c94
drk: display aliases in all tables
2023-02-18 18:26:09 +02:00