-
Notifications
You must be signed in to change notification settings - Fork 71
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
Make sure all exceptions are caught when executing code in http_plugin's thread pool, so Leap doesn't crash when processing APIs.
- Loading branch information
Showing
5 changed files
with
236 additions
and
11 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
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,193 @@ | ||
{ | ||
"____comment": "This file was generated with eosio-abigen. Manually edited to add a table named global with an undefined type ", | ||
"version": "eosio::abi/1.2", | ||
"types": [], | ||
"structs": [ | ||
{ | ||
"name": "account", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "balance", | ||
"type": "asset" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "close", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "owner", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "symbol", | ||
"type": "symbol" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "create", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "issuer", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "maximum_supply", | ||
"type": "asset" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "currency_stats", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "supply", | ||
"type": "asset" | ||
}, | ||
{ | ||
"name": "max_supply", | ||
"type": "asset" | ||
}, | ||
{ | ||
"name": "issuer", | ||
"type": "name" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "issue", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "to", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "quantity", | ||
"type": "asset" | ||
}, | ||
{ | ||
"name": "memo", | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "open", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "owner", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "symbol", | ||
"type": "symbol" | ||
}, | ||
{ | ||
"name": "ram_payer", | ||
"type": "name" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "retire", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "quantity", | ||
"type": "asset" | ||
}, | ||
{ | ||
"name": "memo", | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "transfer", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "from", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "to", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "quantity", | ||
"type": "asset" | ||
}, | ||
{ | ||
"name": "memo", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"name": "close", | ||
"type": "close", | ||
"ricardian_contract": "" | ||
}, | ||
{ | ||
"name": "create", | ||
"type": "create", | ||
"ricardian_contract": "" | ||
}, | ||
{ | ||
"name": "issue", | ||
"type": "issue", | ||
"ricardian_contract": "" | ||
}, | ||
{ | ||
"name": "open", | ||
"type": "open", | ||
"ricardian_contract": "" | ||
}, | ||
{ | ||
"name": "retire", | ||
"type": "retire", | ||
"ricardian_contract": "" | ||
}, | ||
{ | ||
"name": "transfer", | ||
"type": "transfer", | ||
"ricardian_contract": "" | ||
} | ||
], | ||
"tables": [ | ||
{ | ||
"name": "accounts", | ||
"type": "account", | ||
"index_type": "i64", | ||
"key_names": [], | ||
"key_types": [] | ||
}, | ||
{ | ||
"name": "stat", | ||
"type": "currency_stats", | ||
"index_type": "i64", | ||
"key_names": [], | ||
"key_types": [] | ||
}, | ||
{ | ||
"name": "global", | ||
"type": "global", | ||
"index_type": "i64", | ||
"key_names": [], | ||
"key_types": [] | ||
} | ||
], | ||
"ricardian_clauses": [], | ||
"variants": [], | ||
"action_results": [] | ||
} |