Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Dec 12, 2024
1 parent 0875745 commit 8383d65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rhp/v4/rhp.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@ type (
ContractID types.FileContractID `json:"contractID"`
}
// RPCLatestRevisionResponse implements Object.
//
// The `Revisable` field indicates whether the
// host will accept further revisions to the contract. A host will not accept revisions too
// close to the proof window or revisions on contracts that have already been resolved.
// The `Renewed` field indicates whether the contract was renewed. If the contract was
// renewed, the renter can use `FileContractID.V2RenewalID` to get the ID of the new contract.
RPCLatestRevisionResponse struct {
Contract types.V2FileContract `json:"contract"`
Revisable bool `json:"revisable"`
Expand Down

0 comments on commit 8383d65

Please sign in to comment.