Skip to content

Commit

Permalink
[cgo] refs # Regerate coin.transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Jan 25, 2020
1 parent 6435a58 commit 56ecb54
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion include/cli.check_balance.go.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
typedef struct{create_rawtx.go.h
typedef struct{
GoString_ Coins;
GoString_ Hours;
} cli__Balance;
Expand Down
12 changes: 6 additions & 6 deletions include/coin.outputs.go.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ typedef struct{
GoUint64_ Time;
GoUint64_ BkSeq;
} coin__UxHead;
typedef struct{
cipher__SHA256 SrcTransaction;
cipher__Address Address;
GoUint64_ Coins;
GoUint64_ Hours;
} coin__UxBody;
typedef GoMap_ coin__UxHashSet;
typedef GoSlice_ coin__UxArray;
typedef GoMap_ coin__AddressUxOuts;
typedef struct{
coin__UxHead Head;
coin__UxBody Body;
} coin__UxOut;
typedef struct{
cipher__SHA256 SrcTransaction;
cipher__Address Address;
GoUint64_ Coins;
GoUint64_ Hours;
} coin__UxBody;
20 changes: 10 additions & 10 deletions include/skytypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,61 +341,61 @@ typedef Handle BlockHeader__Handle;
* Memory handle to access to cli.BalanceResult
*/

typedef Handle BalanceResult_Handle;
typedef Handle BalanceResult__Handle;

/**
* Memory handle to access to cli.TxnResult
*/

typedef Handle TransactionResult_Handle;
typedef Handle TransactionResult__Handle;

/**
* Memory handle to access to coin.SortableTransactions
*/

typedef Handle SortableTransactions_Handle;
typedef Handle SortableTransactions__Handle;

/**
* Memory handle to access to webrpc.OutputsResult
*/

typedef Handle OutputsResult_Handle;
typedef Handle OutputsResult__Handle;

/**
* Memory handle to access to cli.StatusResult
*/

typedef Handle StatusResult_Handle;
typedef Handle StatusResult__Handle;

/**
* Memory handle to access to coin.AddressUxOuts
*/

typedef Handle AddressUxOuts_Handle;
typedef Handle AddressUxOuts__Handle;

/**
* Memory handle to access to readable.BuildInfo (BuildInfo)
*/

typedef Handle BuildInfo_Handle;
typedef Handle BuildInfo__Handle;

/**
* Memory handle to access to readable.UnspentOutputsSummary
* (UnspentOutputsSummary)
*/

typedef Handle ReadableUnspentOutputsSummary_Handle;
typedef Handle ReadableUnspentOutputsSummary__Handle;

/**
* Memory handle for hash (ripemd160.digest)
*/

typedef Handle Hash_Handle;
typedef Handle Hash__Handle;

/**
* Handle for readable.UnspentOutputsSummary
* */
typedef Handle UnspentOutputsSummary_Handle;
typedef Handle UnspentOutputsSummary__Handle;

/**
* Handle for coin.SortableTransactions
Expand Down
1 change: 1 addition & 0 deletions lib/cgo/coin.outputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
#include "skyfee.h"
*/
import "C"

// FIXES: HERE
//export SKY_coin_UxOut_Hash
func SKY_coin_UxOut_Hash(_uo *C.coin__UxOut, _arg0 *C.cipher__SHA256) (____error_code uint32) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cgo/handles
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ CGOGEN HANDLES readable__BuildInfo|BuildInfo
CGOGEN HANDLES readable__UnspentOutputsSummary|UnspentOutputsSummary
CGOGEN HANDLES hash__Hash|Hash
CGOGEN HANDLES readable__UnspentOutputsSummary|UnspentOutputsSummary
CGOGEN coin__FeeCalculator|FeeCalculator
CGOGEN TYPES_CONVERSION coin__FeeCalculator|FeeCalculator

0 comments on commit 56ecb54

Please sign in to comment.