forked from fibercrypto/libskyfiber
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cgo] refs fibercrypto#116 Finalized
cli.create_rawtx
- Loading branch information
Maykel Arias Torres
committed
Jan 18, 2020
1 parent
107646e
commit d71e80e
Showing
2 changed files
with
116 additions
and
8 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 |
---|---|---|
@@ -1,7 +1,20 @@ | ||
/** | ||
* Structure used to specify amounts transferred in a transaction. | ||
*/ | ||
typedef struct { | ||
GoString_ Addr; ///< Sender / receipient address. | ||
GoInt64_ Coins; ///< Amount transferred (e.g. measured in SKY) | ||
typedef struct{ | ||
GoString_ Addr; | ||
GoUint64_ Coins; | ||
} cli__SendAmount; | ||
typedef struct{ | ||
GoString_ Addr; | ||
GoString_ Coins; | ||
} cli__sendAmountJSON; | ||
typedef struct{ | ||
GoString_ Wallet; | ||
GoString_ Address; | ||
} cli__walletAddress; | ||
typedef GoInterface_ cli__GetOutputser; | ||
typedef struct{ | ||
GoString_ WalletID; | ||
GoString_ Address; | ||
GoString_ ChangeAddress; | ||
GoSlice_ SendAmounts; | ||
cli__PasswordReader Password; | ||
} cli__createRawTxnArgs; |
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