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
transaction.choose
- Loading branch information
Maykel Arias Torres
committed
Jan 18, 2020
1 parent
628e3ac
commit 86b0bae
Showing
2 changed files
with
42 additions
and
33 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,15 +1,10 @@ | ||
/** | ||
* Skycoin transaction. | ||
* | ||
* Instances of this struct are included in blocks. | ||
*/ | ||
typedef struct { | ||
cipher__SHA256 Hash; ///< Hash of underlying UxOut. | ||
GoUint64_ BkSeq; ///< Block height corresponding to the | ||
///< moment balance calculation is performed at. | ||
cipher__Address Address; ///< Account holder address. | ||
GoUint64_ Coins; ///< Coins amount (e.g. in SKY). | ||
GoUint64_ Hours; ///< Balance of Coin Hours generated by underlying UxOut, depending on UxOut's head time. | ||
typedef struct{ | ||
cipher__SHA256 Hash; | ||
GoUint64_ BkSeq; | ||
GoUint64_ Time; | ||
cipher__Address Address; | ||
GoUint64_ Coins; | ||
GoUint64_ InitialHours; | ||
GoUint64_ Hours; | ||
cipher__SHA256 SrcTransaction; | ||
} transaction__UxBalance; | ||
} transaction__UxBalance; |
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