Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHPv4 Client #17

Draft
wants to merge 32 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e1a7792
v4: add rhp client with 'Settings' rpc method
ChrisSchinnerl Feb 1, 2024
4cd1f01
v4: set deadline on tcp connection during resetTransport
ChrisSchinnerl Feb 1, 2024
85ad190
v4: prune contract
ChrisSchinnerl Feb 1, 2024
84be9e1
v4: gaps in PinSectors
ChrisSchinnerl Feb 1, 2024
f0d4a06
v4: add prices to renew contract, prune and pin
ChrisSchinnerl Feb 1, 2024
5761776
v4: ReadSector
ChrisSchinnerl Feb 1, 2024
d32bbfd
v4: defer recover
ChrisSchinnerl Feb 1, 2024
b7d0551
v4: WriteSector
ChrisSchinnerl Feb 1, 2024
b7168f7
v4: AccountBalance
ChrisSchinnerl Feb 1, 2024
a227cef
v4: change options pattern
ChrisSchinnerl Feb 1, 2024
88af41b
v4: add Options type
ChrisSchinnerl Feb 1, 2024
09ab824
v4: ReviseContract
ChrisSchinnerl Feb 1, 2024
8837ed4
v4: FundAccount
ChrisSchinnerl Feb 1, 2024
511bc43
v4: options docstrings
ChrisSchinnerl Feb 1, 2024
f95f0c7
v4: SectorRoots
ChrisSchinnerl Feb 1, 2024
9c07e3e
v4: Close method
ChrisSchinnerl Feb 1, 2024
64d2513
v4: add Signer interface
ChrisSchinnerl Feb 2, 2024
3ac49b4
v4: docstrings
ChrisSchinnerl Feb 2, 2024
9da5e29
v4: extract reviseContract
ChrisSchinnerl Feb 2, 2024
2da30fd
v4: fix LatestRevision
ChrisSchinnerl Feb 2, 2024
5fd072d
v4: ReadSector
ChrisSchinnerl Feb 2, 2024
9c2e60d
v4: WriteSector
ChrisSchinnerl Feb 2, 2024
c3e8be1
v4: FundAccount
ChrisSchinnerl Feb 2, 2024
f148903
v4: AccountBalance
ChrisSchinnerl Feb 2, 2024
e7b1f16
v4: SectorRoots
ChrisSchinnerl Feb 2, 2024
57338a0
v4: fix build
ChrisSchinnerl Feb 2, 2024
0021e91
v4: don't use errors.As
ChrisSchinnerl Feb 2, 2024
f2deaa3
v4: update docstring on 'do'
ChrisSchinnerl Feb 2, 2024
9c37781
v4: address review comments
ChrisSchinnerl Feb 7, 2024
9c8d465
v4: add client.Close
ChrisSchinnerl Feb 7, 2024
1846ff6
v4: fix verify transaction
ChrisSchinnerl Feb 7, 2024
9673add
v4: don't set keepalive
ChrisSchinnerl Feb 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ go 1.21

require (
go.etcd.io/bbolt v1.3.8
go.sia.tech/core v0.2.1-0.20240130145801-8067f34b2ecc
go.sia.tech/core v0.2.2-0.20240202143739-a5eb98a6cda9
go.sia.tech/mux v1.2.0
go.uber.org/zap v1.26.0
golang.org/x/crypto v0.0.0-20220507011949-2cf3adece122
lukechampine.com/frand v1.4.2
)

require (
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
go.sia.tech/mux v1.2.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/sys v0.5.0 // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKs
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA=
go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw=
go.sia.tech/core v0.2.1-0.20240130145801-8067f34b2ecc h1:oUCCTOatQIwYkJ2FUWRvJtgU+i/BwlzmzCxoSvmmJVQ=
go.sia.tech/core v0.2.1-0.20240130145801-8067f34b2ecc/go.mod h1:3EoY+rR78w1/uGoXXVqcYdwSjSJKuEMI5bL7WROA27Q=
go.sia.tech/core v0.2.2-0.20240202143739-a5eb98a6cda9 h1:BD82OixM+YAMI97wxbUfHHO8d89Q7VszCJpqpBaDsDM=
go.sia.tech/core v0.2.2-0.20240202143739-a5eb98a6cda9/go.mod h1:3EoY+rR78w1/uGoXXVqcYdwSjSJKuEMI5bL7WROA27Q=
go.sia.tech/mux v1.2.0 h1:ofa1Us9mdymBbGMY2XH/lSpY8itFsKIo/Aq8zwe+GHU=
go.sia.tech/mux v1.2.0/go.mod h1:Yyo6wZelOYTyvrHmJZ6aQfRoer3o4xyKQ4NmQLJrBSo=
go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk=
Expand Down