Swiftpack.co - torusresearch/torus-utils-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by torusresearch.
torusresearch/torus-utils-swift 6.1.0
Swift package for fetching shares from torus-nodes
⭐️ 2
🕓 3 weeks ago
iOS macOS
.package(url: "https://github.com/torusresearch/torus-utils-swift.git", from: "6.1.0")



Use this package to do threshold resolution of API calls to Torus nodes. Since Torus nodes operate on a threshold assumption, we need to ensure that API calls also follow such an assumption. This is to prevent malicious nodes from withholding shares, or deliberately slowing down the entire process.

This utility library allows for early exits in optimistic scenarios, while handling rejection of invalid inputs from nodes in malicious/offline scenarios. The general approach is to evaluate predicates against a list of (potentially incomplete) results, and exit when the predicate passes.


Stars: 2
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Release 6.0.1
12 weeks ago

What's Changed

Full Changelog: https://github.com/torusresearch/torus-utils-swift/compare/6.0.0...6.0.1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics