cosmos-sdk/types
Miguel Dingli 018915b1a8
Fix ApproxRoot Infinite Looping (#7140)
Added a maximum number of iterations (100) to ApproxRoot
(and ApproxSqrt) to serve as a hard limit on the number of
iterations that the algorithm performs. If the answer converges
before the maximum iterations, it returns immediately. Otherwise,
if the answer never converges enough to satisfy the primary loop
condition, the looping stops after a hundred iterations.

Closes: #7038

Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
2020-08-29 11:13:36 +01:00
..
bech32 support multisig bech32 address decoding (#6237) 2020-07-23 16:53:47 +00:00
errors Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
grpc Add GRPCBlockHeightHeader in clientCtx gRPC requests (#7021) 2020-08-12 14:42:10 +00:00
kv Audit / Refactor proto packages layout (#6905) 2020-08-11 11:49:45 +00:00
module Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
query Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
rest Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
simulation Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
tx Implement gRPC Simulate endpoint (#7035) 2020-08-24 14:41:08 +00:00
abci.go Merge PR #4613: Only change rootmultistore hash when substore hashes change 2019-06-25 13:11:22 -04:00
abci.pb.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
address_bench_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
address_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
address.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
codec.go Audit / Refactor proto packages layout (#6905) 2020-08-11 11:49:45 +00:00
coin_benchmark_test.go types: fix invalid int->string conversion in benchmarks (#6678) 2020-07-10 12:34:43 +02:00
coin_test.go x/ibc-transfer: ADR001 source tracing implementation (#6871) 2020-08-14 17:46:26 -04:00
coin.go types: update coin regex (#7027) 2020-08-14 09:09:53 +00:00
coin.pb.go Audit / Refactor proto packages layout (#6905) 2020-08-11 11:49:45 +00:00
config_test.go client/keys/parse: honor config changes (#6172) 2020-05-08 10:30:55 +02:00
config.go client/keys/parse: honor config changes (#6172) 2020-05-08 10:30:55 +02:00
context_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
context.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
dec_coin_test.go types: update coin regex (#7027) 2020-08-14 09:09:53 +00:00
dec_coin.go types: update coin regex (#7027) 2020-08-14 09:09:53 +00:00
decimal_test.go Fix ApproxRoot Infinite Looping (#7140) 2020-08-29 11:13:36 +01:00
decimal.go Fix ApproxRoot Infinite Looping (#7140) 2020-08-29 11:13:36 +01:00
denom_test.go Merge PR #3747: Implement initial simple denom convert utils 2019-03-16 14:18:27 +01:00
denom.go Merge PR #5359: Params Validation 2019-12-10 11:48:57 -05:00
events_test.go Fix MarkEventsToIndex (#7161) 2020-08-25 19:08:22 +00:00
events.go Fix MarkEventsToIndex (#7161) 2020-08-25 19:08:22 +00:00
handler_test.go lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
handler.go fix types.ChainAnteDecorators() panic (#5742) 2020-03-03 16:57:33 +00:00
int_test.go Merge PR #7084: types: fix panic on Int.BigInt() 2020-08-18 09:16:23 -04:00
int.go Merge PR #7084: types: fix panic on Int.BigInt() 2020-08-18 09:16:23 -04:00
invariant_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
invariant.go Merge PR #4832: print all failed invariants only 2019-08-05 14:21:44 -04:00
proto.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
queryable.go Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
result_test.go refactor auths broadcast cmd in alignment with #6216 (#6713) 2020-07-17 17:17:21 +00:00
result.go Merge PR #6777: update NewABCIMessageLog to take uint32, update UnsafePackAny comment 2020-07-18 13:56:41 -04:00
router_test.go run make format (#6416) 2020-06-12 10:17:36 -04:00
router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00
staking_test.go lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
staking.go Merge PR #5600: Migrate x/staking to Protobuf 2020-02-06 14:21:02 -05:00
store_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
store.go types: add kv type (#6897) 2020-07-30 14:53:02 +00:00
tx_msg_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
tx_msg.go Tx Height Timeout (#6089) 2020-08-07 23:32:22 +00:00
uint_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
uint.go Merge PR #5491: Protobuf Introduction + Types 2020-01-24 10:32:00 -05:00
utils_test.go x/ibc: IBC alpha (#5277) 2020-04-08 20:57:52 -04:00
utils.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00