Skip to content

Refactor - Transaction Hash (usages) #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 27 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ef05c3a
Add a macro for defining custom error types
DaMatrix May 24, 2024
1831f38
support errors with per-variant attributes
DaMatrix Jun 6, 2024
1101dd4
macros: make_error_type supports struct-like enums as well as tuple e…
DaMatrix Jun 21, 2024
15bf1b7
add traits for generating placeholder values for use in tests
DaMatrix Jun 26, 2024
8d30367
utils: add dedicated modules for serializing and deserializing arrays
DaMatrix May 17, 2024
7097e54
Add a struct for representing fixed-length byte arrays
DaMatrix May 29, 2024
4be53f5
serialize_utils: implement From<&[u8; N]> for FixedByteArray
DaMatrix May 29, 2024
37b51fa
macros: add traits for generating simple enums
DaMatrix Jul 11, 2024
87f48d6
always use fully-qualified name for bincode (de)serialize functions
DaMatrix Jun 3, 2024
feef369
Upgrade to bincode 2
DaMatrix Jun 6, 2024
36409d5
serialize_utils: add a bunch of helper methods
DaMatrix Jul 11, 2024
a21faed
Merge branch 'refactor/macros' into refactor/tx-hash
DaMatrix Jul 11, 2024
0e148be
PlaceholderIndexed -> PlaceholderSeed
DaMatrix Jul 11, 2024
dcfa232
crypto: add a dedicated wrapper struct for SHA3-256 hashes
DaMatrix Jul 11, 2024
1bde7e5
Merge branch 'refactor/serialize-utils' into refactor/crypto
DaMatrix Jul 11, 2024
1a7fd05
Implement all crypto structs using FixedByteArray
DaMatrix May 29, 2024
74aa820
crypto: improve keypair generation
DaMatrix Jul 11, 2024
675e0eb
crypto: add tests for object serialization
DaMatrix Jul 12, 2024
a44c162
Merge branch 'refactor/bincode-2' into refactor/tx-hash
DaMatrix Jul 12, 2024
60ca98c
Merge branch 'refactor/crypto' into refactor/tx-hash
DaMatrix Jul 12, 2024
0d97a66
Add dedicated struct for transaction hashes
DaMatrix Jun 6, 2024
8223991
Implement PlaceholderSeed for OutPoint
DaMatrix Jul 12, 2024
36c9b3c
Change OutPoint.n to u32
DaMatrix Jul 12, 2024
6efbb6d
Add OutPoint constructor which takes TxHash
DaMatrix Jul 12, 2024
348878e
Replace most hardcoded TxOuts and OutPoints in tests with Placeholder
DaMatrix Jul 12, 2024
60614ca
transaction_utils: make construct_tx_hash return TxHash instead of St…
DaMatrix Jul 12, 2024
b23919b
transaction: remove OutPoint's String constructor
DaMatrix Jul 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exclude = ["**/tests/**", "**/examples/**", "**/benchmarks/**", "docs/**", ".hoo
[dependencies]
actix-rt = "2.8.0"
base64 = "0.20.0"
bincode = "1.3.3"
bincode = { version = "2.0.0-rc.3", features = ["serde"] }
bytes = "1.4.0"
colored = { version = "2.1.0", optional = true }
hex = "0.4.3"
Expand Down
Loading