Skip to content

Commit

Permalink
Merge pull request #523 from Emurgo/evgenii/assets_random_improve
Browse files Browse the repository at this point in the history
Fix for random improve stage in coin selection
  • Loading branch information
lisicky committed Sep 27, 2022
2 parents c4ea370 + d199cd0 commit 6b2dd10
Show file tree
Hide file tree
Showing 4 changed files with 475 additions and 13 deletions.
1 change: 1 addition & 0 deletions rust/json-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@ fn main() {
gen_json_schema!(Int);
gen_json_schema!(Value);
gen_json_schema!(TransactionUnspentOutput);
gen_json_schema!(TransactionUnspentOutputs);
}
17 changes: 17 additions & 0 deletions rust/pkg/cardano_serialization_lib.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -9009,6 +9009,22 @@ declare export class TransactionUnspentOutput {
declare export class TransactionUnspentOutputs {
free(): void;

/**
* @returns {string}
*/
to_json(): string;

/**
* @returns {TransactionUnspentOutputsJSON}
*/
to_js_value(): TransactionUnspentOutputsJSON;

/**
* @param {string} json
* @returns {TransactionUnspentOutputs}
*/
static from_json(json: string): TransactionUnspentOutputs;

/**
* @returns {TransactionUnspentOutputs}
*/
Expand Down Expand Up @@ -10534,6 +10550,7 @@ export interface TransactionUnspentOutputJSON {
input: TransactionInputJSON;
output: TransactionOutputJSON;
}
export type TransactionUnspentOutputsJSON = TransactionUnspentOutputJSON[];
export interface TransactionWitnessSetJSON {
bootstraps?: BootstrapWitnessesJSON | null;
native_scripts?: NativeScriptsJSON | null;
Expand Down

0 comments on commit 6b2dd10

Please sign in to comment.