Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Bitcoin] Redeem utxos locked by uncompressed public key hash (#1433)
* support redeem utxos locked by uncompressed public key hash * Add cpp test and minor optimization * Add KeyPair tuple and real world test
- Loading branch information
1 parent
61f28f8
commit 377d194
Showing
15 changed files
with
207 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,3 +54,5 @@ samples/cpp/*.cmake | |
# built binary | ||
samples/cpp/sample | ||
|
||
*.xcuserdatad/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
platform :osx, '10.12' | ||
platform :osx, '10.14' | ||
|
||
target 'WalletCoreExample' do | ||
use_frameworks! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
PODS: | ||
- SwiftProtobuf (1.9.0) | ||
- TrustWalletCore (2.1.1): | ||
- TrustWalletCore/Core (= 2.1.1) | ||
- TrustWalletCore/Core (2.1.1): | ||
- SwiftProtobuf (1.16.0) | ||
- TrustWalletCore (2.6.7): | ||
- TrustWalletCore/Core (= 2.6.7) | ||
- TrustWalletCore/Core (2.6.7): | ||
- TrustWalletCore/Types | ||
- TrustWalletCore/Types (2.1.1): | ||
- TrustWalletCore/Types (2.6.7): | ||
- SwiftProtobuf | ||
|
||
DEPENDENCIES: | ||
- TrustWalletCore (~> 2.1.0) | ||
- TrustWalletCore | ||
|
||
SPEC REPOS: | ||
trunk: | ||
- SwiftProtobuf | ||
- TrustWalletCore | ||
|
||
SPEC CHECKSUMS: | ||
SwiftProtobuf: ecbec1be9036d15655f6b3443a1c4ea693c97932 | ||
TrustWalletCore: cd0373c69fd9bf92700783287544ce6a9aab041b | ||
SwiftProtobuf: 4e16842b83c6fda06b10fac50d73b3f1fce8ab7b | ||
TrustWalletCore: 1409475008901d761effd92fe6c3d6be6c83ae3a | ||
|
||
PODFILE CHECKSUM: a34fe0b289ed6fb4db3ae7964f62fa6b21ff0c0d | ||
PODFILE CHECKSUM: 68848e868fc9571d319a35d139d7901079a7fe36 | ||
|
||
COCOAPODS: 1.9.3 | ||
COCOAPODS: 1.10.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright © 2017-2021 Trust Wallet. | ||
// | ||
// This file is part of Trust. The full Trust copyright notice, including | ||
// terms governing use, modification, and redistribution, is contained in the | ||
// file LICENSE at the root of the source code distribution tree. | ||
|
||
#pragma once | ||
|
||
#include <tuple> | ||
#include "PrivateKey.h" | ||
#include "PublicKey.h" | ||
|
||
namespace TW { | ||
|
||
typedef std::tuple<PrivateKey, PublicKey> KeyPair; | ||
|
||
} // namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.