wfe: send GetOrder via RA

This also modifies how MTCB works: it replaces `treedb.ContainingCheckpoint`
with `treedb.GetCheckpointSubtree`, which queries the `checkpointSubtrees` table
instead of the `checkpoints` table. This more accurately reflects our need to
store subtree signatures separately from checkpoint signatures.

This adds a new method on MTCB, `StandaloneReady`, to be used by RA.GetOrder. IT
can cheaply determine if a given subtreeID is ready to make a standalone MTC,
without actually doing the work to build one.

In RA.GetOrder, call SA.GetOrder and return the result, with one tweak: if the
order is for an MTC and is in "processing" state, additionally check
`StandaloneReady`. If the serial number is ready, replace the "processing" state
with "valid".

For consistency, also perform the same transformation on non-MTC orders based on
the `CertificateSerial` field being non-empty. This will allow us to move
responsibility for setting the "valid" state to the RA.
diff --git a/cmd/boulder-ra/main.go b/cmd/boulder-ra/main.go
index 65f6ba1..947286d 100644
--- a/cmd/boulder-ra/main.go
+++ b/cmd/boulder-ra/main.go
@@ -22,6 +22,7 @@
 	bgrpc "github.com/letsencrypt/boulder/grpc"
 	"github.com/letsencrypt/boulder/issuance"
 	mtcapb "github.com/letsencrypt/boulder/mtca/proto"
+	mtcbpb "github.com/letsencrypt/boulder/mtcb/proto"
 	"github.com/letsencrypt/boulder/policy"
 	pubpb "github.com/letsencrypt/boulder/publisher/proto"
 	"github.com/letsencrypt/boulder/ra"
@@ -49,6 +50,7 @@
 		VAService        *cmd.GRPCClientConfig
 		CAService        *cmd.GRPCClientConfig
 		PublisherService *cmd.GRPCClientConfig
+		MTCBService      *cmd.GRPCClientConfig
 
 		Limiter struct {
 			// Redis contains the configuration necessary to connect to Redis
@@ -198,6 +200,10 @@
 		profileToMTCA[profile] = mtcaClient
 	}
 
+	mtcbConn, err := bgrpc.ClientSetup(c.RA.MTCBService, tlsConfig, scope, clk)
+	cmd.FailOnError(err, "Unable to create MTCB client")
+	mtcb := mtcbpb.NewMTCBClient(mtcbConn)
+
 	caConn, err := bgrpc.ClientSetup(c.RA.CAService, tlsConfig, scope, clk)
 	cmd.FailOnError(err, "Unable to create CA client")
 	cac := capb.NewCertificateAuthorityClient(caConn)
@@ -301,6 +307,7 @@
 		ctp,
 		issuerCerts,
 		profileToMTCA,
+		mtcb,
 	)
 	defer rai.Drain()
 
diff --git a/core/proto/core.pb.go b/core/proto/core.pb.go
index d3f439c..04b7a1d 100644
--- a/core/proto/core.pb.go
+++ b/core/proto/core.pb.go
@@ -726,7 +726,7 @@
 	MtcLogID        string `protobuf:"bytes,17,opt,name=mtcLogID,proto3" json:"mtcLogID,omitempty"`
 	MtcSerialNumber uint64 `protobuf:"varint,18,opt,name=mtcSerialNumber,proto3" json:"mtcSerialNumber,omitempty"`
 	// This is an opaque ID communicated from the MTCA to the MTCB.
-	MtcSubtreeID  uint64 `protobuf:"varint,19,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
+	MtcSubtreeID  int64 `protobuf:"varint,19,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
 	unknownFields protoimpl.UnknownFields
 	sizeCache     protoimpl.SizeCache
 }
@@ -859,7 +859,7 @@
 	return 0
 }
 
-func (x *Order) GetMtcSubtreeID() uint64 {
+func (x *Order) GetMtcSubtreeID() int64 {
 	if x != nil {
 		return x.MtcSubtreeID
 	}
@@ -1095,7 +1095,7 @@
 	0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x74, 0x63,
 	0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c,
 	0x6d, 0x74, 0x63, 0x53, 0x75, 0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x18, 0x13, 0x20, 0x01,
-	0x28, 0x04, 0x52, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75, 0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44,
+	0x28, 0x03, 0x52, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75, 0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44,
 	0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x0a,
 	0x10, 0x0b, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0x7a, 0x0a, 0x08, 0x43, 0x52, 0x4c, 0x45,
 	0x6e, 0x74, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01,
diff --git a/core/proto/core.proto b/core/proto/core.proto
index e178252..ae6cc54 100644
--- a/core/proto/core.proto
+++ b/core/proto/core.proto
@@ -133,7 +133,7 @@
   string mtcLogID = 17;
   uint64 mtcSerialNumber = 18;
   // This is an opaque ID communicated from the MTCA to the MTCB.
-  uint64 mtcSubtreeID = 19;
+  int64 mtcSubtreeID = 19;
 }
 
 message CRLEntry {
diff --git a/features/features.go b/features/features.go
index e2ee79c..53cfe74 100644
--- a/features/features.go
+++ b/features/features.go
@@ -95,6 +95,11 @@
 	// OrderModelHasMTCFields tells the SA that the necessary migration has been
 	// applied for the order model to have the new fields needed for MTCs.
 	OrderModelHasMTCFields bool
+
+	// WFECallsRAForGetOrder tells the WFE to call the RA instead of the SA for
+	// GetOrder, so we can calculate the "status" field correctly for MTCs (based
+	// on whether sufficient signatures are available).
+	WFECallsRAForGetOrder bool
 }
 
 var fMu = new(sync.RWMutex)
diff --git a/mtca/mtca.go b/mtca/mtca.go
index 7f93716..7415b2a 100644
--- a/mtca/mtca.go
+++ b/mtca/mtca.go
@@ -322,7 +322,7 @@
 type issuanceNotification struct {
 	serialNumber uint64
 	// A reference to a row in the mtcmeta subtrees table.
-	subtreeID uint64
+	subtreeID int64
 	errored   bool
 }
 
@@ -673,7 +673,7 @@
 	for _, e := range entries {
 		e.ch <- issuanceNotification{
 			serialNumber: serial,
-			subtreeID:    uint64(subtreeID), //nolint:gosec // G115: db operations will not return a negative autoincrement id
+			subtreeID:    subtreeID,
 		}
 		serial++
 	}
diff --git a/mtca/mtca_test.go b/mtca/mtca_test.go
index cdaaf32..9833495 100644
--- a/mtca/mtca_test.go
+++ b/mtca/mtca_test.go
@@ -34,7 +34,7 @@
 	"github.com/letsencrypt/boulder/db"
 	"github.com/letsencrypt/boulder/issuance"
 	blog "github.com/letsencrypt/boulder/log"
-	"github.com/letsencrypt/boulder/mtca/proto"
+	mtcapb "github.com/letsencrypt/boulder/mtca/proto"
 	"github.com/letsencrypt/boulder/mtpublisher"
 	"github.com/letsencrypt/boulder/mtpublisher/mtpublishertest"
 	"github.com/letsencrypt/boulder/privatekey"
@@ -215,7 +215,7 @@
 // issueResult is the outcome of one async Issue call, along with the values
 // we expect to find in the entry sequenced for it.
 type issueResult struct {
-	*proto.IssueResponse
+	*mtcapb.IssueResponse
 	err              error
 	expectedSPKIHash [sha256.Size]byte
 	expectedDNSName  string
@@ -223,7 +223,7 @@
 
 // makeIssueRequest returns an IssueRequest with a freshly generated key and
 // a random DNS name under example.com.
-func makeIssueRequest(t *testing.T) *proto.IssueRequest {
+func makeIssueRequest(t *testing.T) *mtcapb.IssueRequest {
 	t.Helper()
 	key, err := ecdsa.GenerateKey(elliptic.P256(), nil)
 	if err != nil {
@@ -241,7 +241,7 @@
 	}
 	dnsName := fmt.Sprintf("%x.example.com", buf)
 
-	return &proto.IssueRequest{
+	return &mtcapb.IssueRequest{
 		Pubkey: pubkeyBytes,
 		Identifiers: []*corepb.Identifier{
 			{Type: "dns", Value: dnsName},
@@ -709,7 +709,7 @@
 	got := collectResults(t, results, 1, 5)
 
 	for _, issuanceResult := range got {
-		subtree := mockTreedb.get(int64(issuanceResult.MtcSubtreeID)) //nolint:gosec // G115: we know that subtree IDs stay fairly small in these tests
+		subtree := mockTreedb.get(issuanceResult.MtcSubtreeID)
 		if subtree == nil {
 			t.Fatalf("getting subtreeID %d: not found", issuanceResult.MtcSubtreeID)
 		}
diff --git a/mtca/proto/mtca.pb.go b/mtca/proto/mtca.pb.go
index d8d2e5c..a0566a1 100644
--- a/mtca/proto/mtca.pb.go
+++ b/mtca/proto/mtca.pb.go
@@ -88,7 +88,7 @@
 	// Next unused field number: 4
 	MtcLogID        string `protobuf:"bytes,1,opt,name=mtcLogID,proto3" json:"mtcLogID,omitempty"`
 	MtcSerialNumber uint64 `protobuf:"varint,2,opt,name=mtcSerialNumber,proto3" json:"mtcSerialNumber,omitempty"`
-	MtcSubtreeID    uint64 `protobuf:"varint,3,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
+	MtcSubtreeID    int64  `protobuf:"varint,3,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
 	unknownFields   protoimpl.UnknownFields
 	sizeCache       protoimpl.SizeCache
 }
@@ -137,7 +137,7 @@
 	return 0
 }
 
-func (x *IssueResponse) GetMtcSubtreeID() uint64 {
+func (x *IssueResponse) GetMtcSubtreeID() int64 {
 	if x != nil {
 		return x.MtcSubtreeID
 	}
@@ -163,7 +163,7 @@
 	0x6d, 0x74, 0x63, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
 	0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x74, 0x63, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c,
 	0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75, 0x62,
-	0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x74,
+	0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x74,
 	0x63, 0x53, 0x75, 0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x32, 0x3a, 0x0a, 0x04, 0x4d, 0x54,
 	0x43, 0x41, 0x12, 0x32, 0x0a, 0x05, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x12, 0x2e, 0x6d, 0x74,
 	0x63, 0x61, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
diff --git a/mtca/proto/mtca.proto b/mtca/proto/mtca.proto
index 8bbe1dd..df57a7a 100644
--- a/mtca/proto/mtca.proto
+++ b/mtca/proto/mtca.proto
@@ -24,5 +24,5 @@
   // Next unused field number: 4
   string mtcLogID = 1;
   uint64 mtcSerialNumber = 2;
-  uint64 mtcSubtreeID = 3;
+  int64 mtcSubtreeID = 3;
 }
diff --git a/mtcb/mtcb.go b/mtcb/mtcb.go
index 997f579..e9226fd 100644
--- a/mtcb/mtcb.go
+++ b/mtcb/mtcb.go
@@ -29,7 +29,8 @@
 // checkpointDB is the subset of treedb.Impl the mtcb uses, so tests can supply
 // checkpoints without a database.
 type checkpointDB interface {
-	ContainingCheckpoint(ctx context.Context, mtcLogID string, entryIndex int64) (*treedb.CheckpointModel, error)
+	GetCheckpointSubtree(ctx context.Context, mtcLogID string, id int64) (*treedb.CheckpointSubtreeModel, error)
+	LatestCheckpoint(ctx context.Context, mtcLogID string) (*treedb.CheckpointModel, error)
 }
 
 type mtcb struct {
@@ -103,9 +104,44 @@
 	return logNum, entryIndex
 }
 
+// StandaloneReady checks if the requested TBSCertificateLogEntry is ready to be built into a stanadlone certificate.
+func (m *mtcb) StandaloneReady(ctx context.Context, req *mtcbpb.StandaloneReadyRequest) (*mtcbpb.StandaloneReadyResponse, error) {
+	if core.IsAnyNilOrZero(req.MtcLogID, req.MtcSerialNumber, req.MtcSubtreeID) {
+		return nil, errors.New("incomplete gRPC request")
+	}
+
+	requestedLogID, err := issuancelog.ParseID(req.MtcLogID)
+	if err != nil {
+		return nil, fmt.Errorf("parsing MTCLogID: %s", err)
+	}
+
+	_, ok := m.issuers[requestedLogID.CAID]
+	if !ok {
+		return nil, fmt.Errorf("misdirected request for MTC log ID %q", req.MtcLogID)
+	}
+
+	requestedLogNumber, entryIndex := splitMTCSerial(req.MtcSerialNumber)
+
+	if requestedLogNumber != requestedLogID.LogNumber {
+		return nil, fmt.Errorf("misdirected request for MTC ID %s and serial %016x",
+			requestedLogID.String(), req.MtcSerialNumber)
+	}
+
+	subtree, err := m.checkpoints.GetCheckpointSubtree(ctx, requestedLogID.String(), req.MtcSubtreeID)
+	if err != nil {
+		return nil, err
+	}
+
+	ready, err := ready(subtree, entryIndex)
+	if err != nil {
+		return nil, err
+	}
+
+	return &mtcbpb.StandaloneReadyResponse{Ready: ready}, nil
+}
+
 func (m *mtcb) GetStandalone(ctx context.Context, req *mtcbpb.StandaloneRequest) (*mtcbpb.StandaloneResponse, error) {
-	// Step 0: Validate the request.
-	if core.IsAnyNilOrZero(req.MtcLogID, req.Serial) {
+	if core.IsAnyNilOrZero(req.MtcLogID, req.MtcSerialNumber, req.MtcSubtreeID) {
 		return nil, errors.New("incomplete gRPC request")
 	}
 
@@ -119,28 +155,51 @@
 		return nil, fmt.Errorf("unrecognized MTCA ID %q", logID.CAID)
 	}
 
-	logNum, entryIndex := splitMTCSerial(req.Serial)
+	logNum, entryIndex := splitMTCSerial(req.MtcSerialNumber)
 	if logNum != logID.LogNumber {
-		return nil, fmt.Errorf("serial %d encodes log number %d, which is not log %q", req.Serial, logNum, req.MtcLogID)
+		return nil, fmt.Errorf("serial %d encodes log number %d, which is not log %q", req.MtcSerialNumber, logNum, req.MtcLogID)
 	}
-	tlogIndex := int64(entryIndex) //nolint:gosec // G115: splitMTCSerial zeroes the top 16 bits of entryIndex, so it fits in an int64.
+	entryIndexInt64 := int64(entryIndex) //nolint:gosec // G115: splitMTCSerial zeroes the top 16 bits of entryIndex, so it fits in an int64.
 
-	// Step 1: Fetch the relevant checkpoint from the database.
-	// TODO: Eventually, fetch the relevant subtree instead.
-	cp, err := m.checkpoints.ContainingCheckpoint(ctx, logID.String(), tlogIndex)
+	// Fetch the latest checkpoint. We'll need the latest treesize to fetch tiles.
+	// TODO: The latestCheckpoint table gets updated upon signing, and tile publication hasn't happened yet.
+	// So we can wind up trying to read tiles that don't exist yet.  Read the checkpoint file from tile storage
+	// instead of the latest checkpoint row from the DB.
+	latestCheckpoint, err := m.checkpoints.LatestCheckpoint(ctx, logID.String())
+	if err != nil {
+		return nil, fmt.Errorf("getting latest checkpoint: %s", err)
+	}
+	err = latestCheckpoint.Valid()
+	if err != nil {
+		return nil, fmt.Errorf("validating checkpoint %d: %w", latestCheckpoint.ID, err)
+	}
+
+	// Fetch the relevant subtree from the database.
+	subtree, err := m.checkpoints.GetCheckpointSubtree(ctx, logID.String(), req.MtcSubtreeID)
 	if err != nil {
 		return nil, err
 	}
-	err = cp.Valid()
+
+	isReady, err := ready(subtree, entryIndex)
 	if err != nil {
-		return nil, fmt.Errorf("validating checkpoint %d: %w", cp.ID, err)
+		return nil, err
 	}
-	if !cp.Mirrored() {
-		return nil, fmt.Errorf("checkpoint %d is not mirrored", cp.ID)
+	if !isReady {
+		return nil, fmt.Errorf("not ready to build standalone for %q %016x", logID, req.MtcSerialNumber)
 	}
 
-	// Step 2: Fetch the tbsCertificateLogEntry and pubkey from the log.
-	entryBundle, pubkeyBundle, err := tiles.ReadBundles(ctx, m.s3c, tlogIndex, cp.TreeSize, logID.TilePrefix())
+	if subtree.SubtreeEnd > uint64(latestCheckpoint.TreeSize) { //nolint:gosec // G115: TreeSize is positive
+		return nil, fmt.Errorf("subtreeEnd is greater than treeSize (%d > %d)",
+			subtree.SubtreeEnd, latestCheckpoint.TreeSize)
+	}
+
+	// Fetch the tbsCertificateLogEntry and pubkey from the log.
+	entryBundle, pubkeyBundle, err := tiles.ReadBundles(
+		ctx,
+		m.s3c,
+		entryIndexInt64,
+		latestCheckpoint.TreeSize,
+		logID.TilePrefix())
 	if err != nil {
 		return nil, fmt.Errorf("reading bundles: %w", err)
 	}
@@ -172,28 +231,40 @@
 		return nil, fmt.Errorf("while reading pubkey: %w", err)
 	}
 
-	// Step 3: Build the inclusion proof from the log.
-	rootHash := tlog.Hash(cp.RootHash)
+	// Build the inclusion proof from the log.
 	tr := tiles.NewTileReader(ctx, m.s3c, logID.TilePrefix())
-	hr := tlog.TileHashReader(tlog.Tree{N: cp.TreeSize, Hash: rootHash}, tr)
-	inclusionProof, err := tlog.ProveRecord(cp.TreeSize, tlogIndex, hr)
+	// The tile reader has to know the latest tree size, while the proof
+	// should go to the size of the subtree.
+	hr := tlog.TileHashReader(tlog.Tree{
+		N:    latestCheckpoint.TreeSize,
+		Hash: tlog.Hash(latestCheckpoint.RootHash),
+	}, tr)
+
+	if subtree.SubtreeStart != 0 {
+		return nil, fmt.Errorf("inclusion proofs from start > 0 not yet supported")
+	}
+
+	inclusionProof, err := tlog.ProveRecord(
+		int64(subtree.SubtreeEnd), //nolint:gosec // G115: SubtreeEnd is less than 1<<48.
+		entryIndexInt64,
+		hr)
 	if err != nil {
 		return nil, fmt.Errorf("computing inclusion proof: %w", err)
 	}
 
-	// Step 4: Build the cert from all of the above.
-	tbs, err := mtcle.ToTBSCertificate(req.Serial, pubkey.Pubkey(), crypto.SHA256)
+	// Build the cert from all of the above.
+	tbs, err := mtcle.ToTBSCertificate(req.MtcSerialNumber, pubkey.Pubkey(), crypto.SHA256)
 	if err != nil {
 		return nil, fmt.Errorf("building tbsCertificate: %w", err)
 	}
 
 	sig := proof.MTCProof{
 		Start:          0,
-		End:            uint64(cp.TreeSize), //nolint:gosec // G115: cp.Valid() above rejects a non-positive TreeSize.
+		End:            subtree.SubtreeEnd,
 		InclusionProof: inclusionProof,
 		Signatures: []*proof.SubtreeSignature{
-			{CosignerID: []byte(logID.CAID), Signature: cp.MTCASignature},
-			{CosignerID: []byte(*cp.MirrorID), Signature: cp.MirrorSignature},
+			{CosignerID: []byte(logID.CAID), Signature: subtree.MTCASignature},
+			{CosignerID: []byte(*subtree.MirrorID), Signature: subtree.MirrorSignature},
 		},
 	}
 	certBytes, err := buildCertificate(tbs, &sig)
@@ -204,6 +275,20 @@
 	return &mtcbpb.StandaloneResponse{CertDER: certBytes}, nil
 }
 
+func ready(subtree *treedb.CheckpointSubtreeModel, entryIndex uint64) (bool, error) {
+	err := subtree.Valid()
+	if err != nil {
+		return false, fmt.Errorf("validating checkpoint subtree %d: %w", subtree.ID, err)
+	}
+
+	if entryIndex < subtree.SubtreeStart || entryIndex >= subtree.SubtreeEnd {
+		return false, fmt.Errorf("entryIndex is not in subtree ID %d [%d, %d)",
+			subtree.ID, subtree.SubtreeStart, subtree.SubtreeEnd)
+	}
+
+	return subtree.Mirrored(), nil
+}
+
 // buildCertificate wraps a DER-encoded tbsCertificate and an MTCProof into a
 // DER-encoded RFC 5280 Certificate.
 func buildCertificate(tbs []byte, sig *proof.MTCProof) ([]byte, error) {
diff --git a/mtcb/mtcb_test.go b/mtcb/mtcb_test.go
index 69f1229..8054f3c 100644
--- a/mtcb/mtcb_test.go
+++ b/mtcb/mtcb_test.go
@@ -20,6 +20,7 @@
 
 	"github.com/letsencrypt/boulder/bs3/bs3test"
 	"github.com/letsencrypt/boulder/core"
+	berrors "github.com/letsencrypt/boulder/errors"
 	"github.com/letsencrypt/boulder/issuance"
 	blog "github.com/letsencrypt/boulder/log"
 	mtcbpb "github.com/letsencrypt/boulder/mtcb/proto"
@@ -111,16 +112,24 @@
 // fakeCheckpointDB serves the first checkpoint whose tree size covers the
 // entry.
 type fakeCheckpointDB struct {
-	checkpoints []*treedb.CheckpointModel
+	checkpoints        []*treedb.CheckpointModel
+	checkpointSubtrees []*treedb.CheckpointSubtreeModel
 }
 
-func (f *fakeCheckpointDB) ContainingCheckpoint(_ context.Context, mtcLogID string, entryIndex int64) (*treedb.CheckpointModel, error) {
-	for _, cp := range f.checkpoints {
-		if cp.MTCLogID == mtcLogID && cp.TreeSize > entryIndex {
-			return cp, nil
+func (f *fakeCheckpointDB) GetCheckpointSubtree(_ context.Context, mtcLogID string, id int64) (*treedb.CheckpointSubtreeModel, error) {
+	for _, subtree := range f.checkpointSubtrees {
+		if subtree.MTCLogID == mtcLogID && subtree.ID == id {
+			return subtree, nil
 		}
 	}
-	return nil, fmt.Errorf("no checkpoint of %q covers index %d", mtcLogID, entryIndex)
+	return nil, berrors.NotFoundError("not found")
+}
+
+func (f *fakeCheckpointDB) LatestCheckpoint(_ context.Context, mtcLogID string) (*treedb.CheckpointModel, error) {
+	if len(f.checkpoints) == 0 {
+		return nil, fmt.Errorf("no checkpoints")
+	}
+	return f.checkpoints[len(f.checkpoints)-1], nil
 }
 
 // issued is one entry in the test log, along with the values we expect to find
@@ -134,9 +143,10 @@
 
 // testLog is an issuance log and the checkpoints that cover it.
 type testLog struct {
-	fs3         *bs3test.FakeS3
-	entries     []issued
-	checkpoints []*treedb.CheckpointModel
+	fs3                *bs3test.FakeS3
+	entries            []issued
+	checkpoints        []*treedb.CheckpointModel
+	checkpointSubtrees []*treedb.CheckpointSubtreeModel
 }
 
 // newTestLog returns a log containing 257 certificates, published with mirrored
@@ -170,6 +180,16 @@
 			TreeSize:        frontier.TreeSize(),
 			RootHash:        root[:],
 		})
+		log.checkpointSubtrees = append(log.checkpointSubtrees, &treedb.CheckpointSubtreeModel{
+			ID:              int64(len(log.checkpoints) + 1),
+			MTCLogID:        testLogID.String(),
+			MTCASignature:   fmt.Appendf(nil, "placeholder mtca signature over size %d", frontier.TreeSize()),
+			MirrorID:        &mirrorID,
+			MirrorSignature: fmt.Appendf(nil, "placeholder mirror signature over size %d", frontier.TreeSize()),
+			SubtreeStart:    0,
+			SubtreeEnd:      uint64(frontier.TreeSize()), //nolint:gosec // G115: tree sizes in this test are tiny.
+			SubtreeHash:     root[:],
+		})
 	}
 	return log
 }
@@ -230,13 +250,17 @@
 }
 
 // testMTCB returns an mtcb over checkpoints and the tiles in fs3.
-func testMTCB(t *testing.T, fs3 *bs3test.FakeS3, checkpoints []*treedb.CheckpointModel) *mtcb {
+func testMTCB(t *testing.T, fs3 *bs3test.FakeS3, checkpoints []*treedb.CheckpointModel, subtrees []*treedb.CheckpointSubtreeModel) *mtcb {
 	t.Helper()
 	issuer, err := issuance.LoadCertificate("../test/certs/mtpki/mtca1.cert.pem")
 	if err != nil {
 		t.Fatalf("LoadCertificate: %s", err)
 	}
-	m, err := New([]*issuance.Certificate{issuer}, &fakeCheckpointDB{checkpoints: checkpoints}, fs3, blog.NewMock(), clock.NewFake())
+	fakeDB := &fakeCheckpointDB{
+		checkpoints:        checkpoints,
+		checkpointSubtrees: subtrees,
+	}
+	m, err := New([]*issuance.Certificate{issuer}, fakeDB, fs3, blog.NewMock(), clock.NewFake())
 	if err != nil {
 		t.Fatalf("New: %s", err)
 	}
@@ -244,8 +268,8 @@
 }
 
 // verifyStandalone checks that certDER is a standalone certificate for expected
-// that proves inclusion to cp and carries its cosignatures.
-func (l *testLog) verifyStandalone(t *testing.T, certDER []byte, expected issued, cp *treedb.CheckpointModel) {
+// that proves inclusion to subtree and carries its cosignatures.
+func (l *testLog) verifyStandalone(t *testing.T, certDER []byte, expected issued, subtree *treedb.CheckpointSubtreeModel) {
 	t.Helper()
 	cert, err := x509.ParseCertificate(certDER)
 	if err != nil {
@@ -265,22 +289,28 @@
 	if err != nil {
 		t.Fatalf("UnmarshalMTCProof: %s", err)
 	}
-	if mtcProof.Start != 0 {
-		t.Errorf("start = %d, want 0", mtcProof.Start)
+	if mtcProof.Start != subtree.SubtreeStart {
+		t.Errorf("start = %d, want %d", mtcProof.Start, subtree.SubtreeStart)
 	}
-	if mtcProof.End != uint64(cp.TreeSize) { //nolint:gosec // G115: tree sizes in this test are tiny.
-		t.Errorf("end = %d, want %d", mtcProof.End, cp.TreeSize)
+	if mtcProof.End != subtree.SubtreeEnd {
+		t.Errorf("end = %d, want %d", mtcProof.End, subtree.SubtreeEnd)
 	}
 
-	tree := tlog.Tree{N: cp.TreeSize, Hash: tlog.Hash(cp.RootHash)}
+	// TODO: This test fetches the hash of the MTCLogEntry at index `expected.index` and verifies the proof against that.
+	// Instead it should calculate the hash based purely on the `certDER`, following the algorithm at
+	// https://ietf-plants-wg.github.io/merkle-tree-certs/draft-ietf-plants-merkle-tree-certs.html#name-verifying-certificate-signa
+	subtreeEnd := int64(subtree.SubtreeEnd) //nolint:gosec // G115: SubtreeEnd fits an int64 in this test.
+	tree := tlog.Tree{N: subtreeEnd, Hash: tlog.Hash(subtree.SubtreeHash)}
 	hr := tlog.TileHashReader(tree, tiles.NewTileReader(t.Context(), l.fs3, testLogID.TilePrefix()))
 	leafHashes, err := hr.ReadHashes([]int64{tlog.StoredHashIndex(0, expected.index)})
 	if err != nil {
 		t.Fatalf("reading the leaf hash from tile storage: %s", err)
 	}
-	err = tlog.CheckRecord(mtcProof.InclusionProof, cp.TreeSize, tree.Hash, expected.index, leafHashes[0])
+	mtcLogEntryHash := leafHashes[0]
+
+	err = tlog.CheckRecord(mtcProof.InclusionProof, subtreeEnd, tree.Hash, expected.index, mtcLogEntryHash)
 	if err != nil {
-		t.Errorf("inclusion proof is not for index %d in the checkpoint of tree size %d: %s", expected.index, cp.TreeSize, err)
+		t.Errorf("inclusion proof is not for index %d in the checkpoint of tree size %d: %s", expected.index, subtree.SubtreeEnd, err)
 	}
 
 	if len(mtcProof.Signatures) != 2 {
@@ -290,11 +320,11 @@
 	for _, sig := range mtcProof.Signatures {
 		sigsByID[string(sig.CosignerID)] = sig.Signature
 	}
-	if !bytes.Equal(sigsByID[testLogID.CAID], cp.MTCASignature) {
-		t.Errorf("MTCA cosignature = %x, want %x", sigsByID[testLogID.CAID], cp.MTCASignature)
+	if !bytes.Equal(sigsByID[testLogID.CAID], subtree.MTCASignature) {
+		t.Errorf("MTCA cosignature = %x, want %x", sigsByID[testLogID.CAID], subtree.MTCASignature)
 	}
-	if !bytes.Equal(sigsByID[mirrorID], cp.MirrorSignature) {
-		t.Errorf("mirror cosignature = %x, want %x", sigsByID[mirrorID], cp.MirrorSignature)
+	if !bytes.Equal(sigsByID[mirrorID], subtree.MirrorSignature) {
+		t.Errorf("mirror cosignature = %x, want %x", sigsByID[mirrorID], subtree.MirrorSignature)
 	}
 }
 
@@ -303,42 +333,52 @@
 func TestGetStandalone(t *testing.T) {
 	t.Parallel()
 	l := newTestLog(t)
-	m := testMTCB(t, l.fs3, l.checkpoints)
+	m := testMTCB(t, l.fs3, nil, nil)
 
-	// Reading each range under its own checkpoint checks that bundles are read
-	// at that checkpoint's width, in both bundles.
+	fakeDB := fakeCheckpointDB{nil, l.checkpointSubtrees}
+	m.checkpoints = &fakeDB
+
+	// Call GetStandalone for a variety of subtrees. For each one, use a `latest` checkpoint that
+	// has a TreeSize equal to SubtreeEnd, to exercise the partial-tile fetch path.
 	for _, tc := range []struct {
 		name    string
 		entries []issued
-		cp      *treedb.CheckpointModel
+		latest  *treedb.CheckpointModel
+		subtree *treedb.CheckpointSubtreeModel
 	}{
-		{name: "Partial first bundle at size 4", entries: l.entries[1:4], cp: l.checkpoints[0]},
-		{name: "Partial first bundle at size 6", entries: l.entries[4:6], cp: l.checkpoints[1]},
-		{name: "Full first bundle", entries: l.entries[6:8], cp: l.checkpoints[2]},
-		{name: "Across the bundle boundary", entries: l.entries[254:], cp: l.checkpoints[2]},
+		{name: "Partial first bundle at size 4", entries: l.entries[1:4], latest: l.checkpoints[0], subtree: l.checkpointSubtrees[0]},
+		{name: "Partial first bundle at size 6", entries: l.entries[4:6], latest: l.checkpoints[1], subtree: l.checkpointSubtrees[1]},
+		{name: "Full first bundle", entries: l.entries[6:8], latest: l.checkpoints[2], subtree: l.checkpointSubtrees[2]},
+		{name: "Across the bundle boundary", entries: l.entries[254:], latest: l.checkpoints[2], subtree: l.checkpointSubtrees[2]},
 	} {
 		t.Run(tc.name, func(t *testing.T) {
 			for _, expected := range tc.entries {
-				resp, err := m.GetStandalone(t.Context(), &mtcbpb.StandaloneRequest{MtcLogID: testLogID.String(), Serial: expected.serial})
+				fakeDB.checkpoints = []*treedb.CheckpointModel{tc.latest}
+				resp, err := m.GetStandalone(t.Context(), &mtcbpb.StandaloneRequest{
+					MtcLogID:        testLogID.String(),
+					MtcSerialNumber: expected.serial,
+					MtcSubtreeID:    tc.subtree.ID,
+				})
 				if err != nil {
-					t.Fatalf("GetStandalone for serial %d: %s", expected.serial, err)
+					t.Fatalf("GetStandalone for serial %016x: %s", expected.serial, err)
 				}
-				l.verifyStandalone(t, resp.CertDER, expected, tc.cp)
+				l.verifyStandalone(t, resp.CertDER, expected, tc.subtree)
 			}
 		})
 	}
 }
 
-func TestGetStandaloneInvalidCheckpoint(t *testing.T) {
+func TestGetStandaloneInvalidLatestCheckpoint(t *testing.T) {
 	t.Parallel()
 	for _, tc := range []struct {
 		name              string
-		cp                *treedb.CheckpointModel
+		latest            *treedb.CheckpointModel
+		subtree           *treedb.CheckpointSubtreeModel
 		expectErrContains string
 	}{
 		{
 			name: "Short root hash",
-			cp: &treedb.CheckpointModel{
+			latest: &treedb.CheckpointModel{
 				ID:              1,
 				MTCLogID:        testLogID.String(),
 				TreeSize:        4,
@@ -347,11 +387,21 @@
 				MirrorID:        &mirrorID,
 				MirrorSignature: []byte("mirror"),
 			},
+			subtree: &treedb.CheckpointSubtreeModel{
+				ID:              54545,
+				MTCLogID:        testLogID.String(),
+				MTCASignature:   []byte{},
+				MirrorID:        nil,
+				MirrorSignature: nil,
+				SubtreeStart:    0,
+				SubtreeEnd:      4,
+				SubtreeHash:     make([]byte, 5),
+			},
 			expectErrContains: "validating checkpoint",
 		},
 		{
 			name: "No mirror ID",
-			cp: &treedb.CheckpointModel{
+			latest: &treedb.CheckpointModel{
 				ID:              1,
 				MTCLogID:        testLogID.String(),
 				TreeSize:        4,
@@ -359,13 +409,27 @@
 				MTCASignature:   []byte("mtca"),
 				MirrorSignature: []byte("mirror"),
 			},
-			expectErrContains: "not mirrored",
+			subtree: &treedb.CheckpointSubtreeModel{
+				ID:              1,
+				MTCLogID:        testLogID.String(),
+				MTCASignature:   []byte{},
+				MirrorID:        nil,
+				MirrorSignature: nil,
+				SubtreeStart:    0,
+				SubtreeEnd:      4,
+				SubtreeHash:     make([]byte, 32),
+			},
+			expectErrContains: "not ready",
 		},
 	} {
 		t.Run(tc.name, func(t *testing.T) {
 			t.Parallel()
-			m := testMTCB(t, bs3test.New(), []*treedb.CheckpointModel{tc.cp})
-			_, err := m.GetStandalone(t.Context(), &mtcbpb.StandaloneRequest{MtcLogID: testLogID.String(), Serial: testSerial(1)})
+			m := testMTCB(t, bs3test.New(), []*treedb.CheckpointModel{tc.latest}, []*treedb.CheckpointSubtreeModel{tc.subtree})
+			_, err := m.GetStandalone(t.Context(), &mtcbpb.StandaloneRequest{
+				MtcLogID:        testLogID.String(),
+				MtcSerialNumber: testSerial(1),
+				MtcSubtreeID:    tc.subtree.ID,
+			})
 			if err == nil {
 				t.Fatal("GetStandalone: got nil error, want error")
 			}
@@ -386,15 +450,16 @@
 		req               *mtcbpb.StandaloneRequest
 		expectErrContains string
 	}{
-		{"Empty log ID", &mtcbpb.StandaloneRequest{Serial: serial}, "incomplete"},
-		{"Zero serial", &mtcbpb.StandaloneRequest{MtcLogID: testLogID.String()}, "incomplete"},
-		{"Malformed log ID", &mtcbpb.StandaloneRequest{MtcLogID: testLogID.CAID, Serial: serial}, "before its log number"},
-		{"Unknown CA", &mtcbpb.StandaloneRequest{MtcLogID: "32473.9.0.5", Serial: serial}, "unrecognized MTCA ID"},
-		{"Log number mismatch", &mtcbpb.StandaloneRequest{MtcLogID: otherLog.String(), Serial: serial}, "encodes log number"},
+		{"Empty log ID", &mtcbpb.StandaloneRequest{MtcSerialNumber: serial, MtcSubtreeID: 123}, "incomplete"},
+		{"Zero serial", &mtcbpb.StandaloneRequest{MtcLogID: testLogID.String(), MtcSubtreeID: 123}, "incomplete"},
+		{"Zero subtreeID", &mtcbpb.StandaloneRequest{MtcLogID: testLogID.String(), MtcSerialNumber: serial}, "incomplete"},
+		{"Malformed log ID", &mtcbpb.StandaloneRequest{MtcLogID: testLogID.CAID, MtcSerialNumber: serial, MtcSubtreeID: 123}, "before its log number"},
+		{"Unknown CA", &mtcbpb.StandaloneRequest{MtcLogID: "32473.9.0.5", MtcSerialNumber: serial, MtcSubtreeID: 123}, "unrecognized MTCA ID"},
+		{"Log number mismatch", &mtcbpb.StandaloneRequest{MtcLogID: otherLog.String(), MtcSerialNumber: serial, MtcSubtreeID: 123}, "encodes log number"},
 	} {
 		t.Run(tc.name, func(t *testing.T) {
 			t.Parallel()
-			m := testMTCB(t, bs3test.New(), nil)
+			m := testMTCB(t, bs3test.New(), nil, nil)
 			_, err := m.GetStandalone(t.Context(), tc.req)
 			if err == nil {
 				t.Fatal("GetStandalone: got nil error, want error")
@@ -405,3 +470,99 @@
 		})
 	}
 }
+
+func TestStandaloneReady(t *testing.T) {
+	issuer, err := issuance.LoadCertificate("../test/certs/mtpki/mtca1.cert.pem")
+	if err != nil {
+		t.Fatalf("LoadCertificate: %s", err)
+	}
+	l := newTestLog(t)
+
+	fakeDB := &fakeCheckpointDB{
+		checkpoints: []*treedb.CheckpointModel{},
+		checkpointSubtrees: []*treedb.CheckpointSubtreeModel{
+			{
+				ID:              456,
+				MTCLogID:        "44947.4.1.0.3",
+				MTCASignature:   []byte("abc"),
+				MirrorID:        &mirrorID,
+				MirrorSignature: []byte("def"),
+				SubtreeStart:    2,
+				SubtreeEnd:      3,
+				SubtreeHash:     make([]byte, 32),
+			},
+		},
+	}
+
+	m, err := New(
+		[]*issuance.Certificate{issuer},
+		fakeDB,
+		l.fs3,
+		blog.NewMock(),
+		clock.NewFake())
+	if err != nil {
+		t.Fatalf("New: %s", err)
+	}
+
+	resp, err := m.StandaloneReady(t.Context(), &mtcbpb.StandaloneReadyRequest{
+		MtcLogID:        "44947.4.1.0.3",
+		MtcSerialNumber: 0x0003000000000002,
+		MtcSubtreeID:    456,
+	})
+	if err != nil {
+		t.Fatalf("StandaloneReady(): %s", err)
+	}
+
+	if !resp.Ready {
+		t.Errorf("StandaloneReady(): got %t, want %t", resp.Ready, true)
+	}
+
+	// Zero out the mirror signature; ready should return false
+	fakeDB.checkpointSubtrees[0].MirrorSignature = nil
+
+	resp, err = m.StandaloneReady(t.Context(), &mtcbpb.StandaloneReadyRequest{
+		MtcLogID:        "44947.4.1.0.3",
+		MtcSerialNumber: 0x0003000000000002,
+		MtcSubtreeID:    456,
+	})
+	if err != nil {
+		t.Fatalf("StandaloneReady(): %s", err)
+	}
+
+	if resp.Ready {
+		t.Errorf("StandaloneReady(): got %t, want %t", resp.Ready, false)
+	}
+
+	// Restore the mirror signature and ask for a non-existent subtree ID. Should error.
+	fakeDB.checkpointSubtrees[0].MirrorSignature = []byte("def")
+	_, err = m.StandaloneReady(t.Context(), &mtcbpb.StandaloneReadyRequest{
+		MtcLogID:        "44947.4.1.0.3",
+		MtcSerialNumber: 0x0003000000000002,
+		MtcSubtreeID:    999999,
+	})
+	if err == nil {
+		t.Errorf("StandaloneReady(nonexistent ID): got nil error, want error")
+	}
+
+	// Requests where serial doesn't match log number, or log number isn't available,
+	// should error without hitting the DB. Verify by setting checkpoints to nil so
+	// hitting the database panics.
+	m.checkpoints = nil
+	_, err = m.StandaloneReady(t.Context(), &mtcbpb.StandaloneReadyRequest{
+		MtcLogID:        "44947.4.1.0.3",
+		MtcSerialNumber: 0x0099000000000002,
+		MtcSubtreeID:    456,
+	})
+	if err == nil {
+		t.Errorf("StandaloneReady(nonexistent ID): got nil error, want error")
+	}
+
+	_, err = m.StandaloneReady(t.Context(), &mtcbpb.StandaloneReadyRequest{
+		MtcLogID:        "44947.4.1.0.99",
+		MtcSerialNumber: 0x0099000000000002,
+		MtcSubtreeID:    456,
+	})
+	if err == nil {
+		t.Errorf("StandaloneReady(nonexistent ID): got nil error, want error")
+	}
+}
diff --git a/mtcb/proto/mtcb.pb.go b/mtcb/proto/mtcb.pb.go
index b27dcf9..090727c 100644
--- a/mtcb/proto/mtcb.pb.go
+++ b/mtcb/proto/mtcb.pb.go
@@ -21,18 +21,125 @@
 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 )
 
-type StandaloneRequest struct {
+type StandaloneReadyRequest struct {
 	state protoimpl.MessageState `protogen:"open.v1"`
-	// Next unused field number: 3
-	MtcLogID      string `protobuf:"bytes,1,opt,name=mtcLogID,proto3" json:"mtcLogID,omitempty"`
-	Serial        uint64 `protobuf:"varint,2,opt,name=serial,proto3" json:"serial,omitempty"`
+	// Next unused field number: 4
+	MtcLogID        string `protobuf:"bytes,1,opt,name=mtcLogID,proto3" json:"mtcLogID,omitempty"`
+	MtcSerialNumber uint64 `protobuf:"varint,2,opt,name=mtcSerialNumber,proto3" json:"mtcSerialNumber,omitempty"`
+	MtcSubtreeID    int64  `protobuf:"varint,3,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
+	unknownFields   protoimpl.UnknownFields
+	sizeCache       protoimpl.SizeCache
+}
+
+func (x *StandaloneReadyRequest) Reset() {
+	*x = StandaloneReadyRequest{}
+	mi := &file_mtcb_proto_msgTypes[0]
+	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+	ms.StoreMessageInfo(mi)
+}
+
+func (x *StandaloneReadyRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StandaloneReadyRequest) ProtoMessage() {}
+
+func (x *StandaloneReadyRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_mtcb_proto_msgTypes[0]
+	if x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use StandaloneReadyRequest.ProtoReflect.Descriptor instead.
+func (*StandaloneReadyRequest) Descriptor() ([]byte, []int) {
+	return file_mtcb_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *StandaloneReadyRequest) GetMtcLogID() string {
+	if x != nil {
+		return x.MtcLogID
+	}
+	return ""
+}
+
+func (x *StandaloneReadyRequest) GetMtcSerialNumber() uint64 {
+	if x != nil {
+		return x.MtcSerialNumber
+	}
+	return 0
+}
+
+func (x *StandaloneReadyRequest) GetMtcSubtreeID() int64 {
+	if x != nil {
+		return x.MtcSubtreeID
+	}
+	return 0
+}
+
+type StandaloneReadyResponse struct {
+	state protoimpl.MessageState `protogen:"open.v1"`
+	// Next unused field number: 2
+	Ready         bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
 	unknownFields protoimpl.UnknownFields
 	sizeCache     protoimpl.SizeCache
 }
 
+func (x *StandaloneReadyResponse) Reset() {
+	*x = StandaloneReadyResponse{}
+	mi := &file_mtcb_proto_msgTypes[1]
+	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+	ms.StoreMessageInfo(mi)
+}
+
+func (x *StandaloneReadyResponse) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StandaloneReadyResponse) ProtoMessage() {}
+
+func (x *StandaloneReadyResponse) ProtoReflect() protoreflect.Message {
+	mi := &file_mtcb_proto_msgTypes[1]
+	if x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use StandaloneReadyResponse.ProtoReflect.Descriptor instead.
+func (*StandaloneReadyResponse) Descriptor() ([]byte, []int) {
+	return file_mtcb_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *StandaloneReadyResponse) GetReady() bool {
+	if x != nil {
+		return x.Ready
+	}
+	return false
+}
+
+type StandaloneRequest struct {
+	state protoimpl.MessageState `protogen:"open.v1"`
+	// Next unused field number: 4
+	MtcLogID        string `protobuf:"bytes,1,opt,name=mtcLogID,proto3" json:"mtcLogID,omitempty"`
+	MtcSerialNumber uint64 `protobuf:"varint,2,opt,name=mtcSerialNumber,proto3" json:"mtcSerialNumber,omitempty"`
+	MtcSubtreeID    int64  `protobuf:"varint,3,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
+	unknownFields   protoimpl.UnknownFields
+	sizeCache       protoimpl.SizeCache
+}
+
 func (x *StandaloneRequest) Reset() {
 	*x = StandaloneRequest{}
-	mi := &file_mtcb_proto_msgTypes[0]
+	mi := &file_mtcb_proto_msgTypes[2]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -44,7 +151,7 @@
 func (*StandaloneRequest) ProtoMessage() {}
 
 func (x *StandaloneRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_mtcb_proto_msgTypes[0]
+	mi := &file_mtcb_proto_msgTypes[2]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -57,7 +164,7 @@
 
 // Deprecated: Use StandaloneRequest.ProtoReflect.Descriptor instead.
 func (*StandaloneRequest) Descriptor() ([]byte, []int) {
-	return file_mtcb_proto_rawDescGZIP(), []int{0}
+	return file_mtcb_proto_rawDescGZIP(), []int{2}
 }
 
 func (x *StandaloneRequest) GetMtcLogID() string {
@@ -67,9 +174,16 @@
 	return ""
 }
 
-func (x *StandaloneRequest) GetSerial() uint64 {
+func (x *StandaloneRequest) GetMtcSerialNumber() uint64 {
 	if x != nil {
-		return x.Serial
+		return x.MtcSerialNumber
+	}
+	return 0
+}
+
+func (x *StandaloneRequest) GetMtcSubtreeID() int64 {
+	if x != nil {
+		return x.MtcSubtreeID
 	}
 	return 0
 }
@@ -84,7 +198,7 @@
 
 func (x *StandaloneResponse) Reset() {
 	*x = StandaloneResponse{}
-	mi := &file_mtcb_proto_msgTypes[1]
+	mi := &file_mtcb_proto_msgTypes[3]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -96,7 +210,7 @@
 func (*StandaloneResponse) ProtoMessage() {}
 
 func (x *StandaloneResponse) ProtoReflect() protoreflect.Message {
-	mi := &file_mtcb_proto_msgTypes[1]
+	mi := &file_mtcb_proto_msgTypes[3]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -109,7 +223,7 @@
 
 // Deprecated: Use StandaloneResponse.ProtoReflect.Descriptor instead.
 func (*StandaloneResponse) Descriptor() ([]byte, []int) {
-	return file_mtcb_proto_rawDescGZIP(), []int{1}
+	return file_mtcb_proto_rawDescGZIP(), []int{3}
 }
 
 func (x *StandaloneResponse) GetCertDER() []byte {
@@ -130,7 +244,7 @@
 
 func (x *LandmarkRelativeRequest) Reset() {
 	*x = LandmarkRelativeRequest{}
-	mi := &file_mtcb_proto_msgTypes[2]
+	mi := &file_mtcb_proto_msgTypes[4]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -142,7 +256,7 @@
 func (*LandmarkRelativeRequest) ProtoMessage() {}
 
 func (x *LandmarkRelativeRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_mtcb_proto_msgTypes[2]
+	mi := &file_mtcb_proto_msgTypes[4]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -155,7 +269,7 @@
 
 // Deprecated: Use LandmarkRelativeRequest.ProtoReflect.Descriptor instead.
 func (*LandmarkRelativeRequest) Descriptor() ([]byte, []int) {
-	return file_mtcb_proto_rawDescGZIP(), []int{2}
+	return file_mtcb_proto_rawDescGZIP(), []int{4}
 }
 
 func (x *LandmarkRelativeRequest) GetMtcLogID() string {
@@ -183,7 +297,7 @@
 
 func (x *LandmarkRelativeResponse) Reset() {
 	*x = LandmarkRelativeResponse{}
-	mi := &file_mtcb_proto_msgTypes[3]
+	mi := &file_mtcb_proto_msgTypes[5]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -195,7 +309,7 @@
 func (*LandmarkRelativeResponse) ProtoMessage() {}
 
 func (x *LandmarkRelativeResponse) ProtoReflect() protoreflect.Message {
-	mi := &file_mtcb_proto_msgTypes[3]
+	mi := &file_mtcb_proto_msgTypes[5]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -208,7 +322,7 @@
 
 // Deprecated: Use LandmarkRelativeResponse.ProtoReflect.Descriptor instead.
 func (*LandmarkRelativeResponse) Descriptor() ([]byte, []int) {
-	return file_mtcb_proto_rawDescGZIP(), []int{3}
+	return file_mtcb_proto_rawDescGZIP(), []int{5}
 }
 
 func (x *LandmarkRelativeResponse) GetCertDER() []byte {
@@ -229,38 +343,58 @@
 
 var file_mtcb_proto_rawDesc = string([]byte{
 	0x0a, 0x0a, 0x6d, 0x74, 0x63, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x6d, 0x74,
-	0x63, 0x62, 0x22, 0x47, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65,
-	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f,
-	0x67, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f,
-	0x67, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20,
-	0x01, 0x28, 0x04, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x2e, 0x0a, 0x12, 0x53,
-	0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
-	0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52, 0x18, 0x01, 0x20, 0x01,
-	0x28, 0x0c, 0x52, 0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52, 0x22, 0x4d, 0x0a, 0x17, 0x4c,
+	0x63, 0x62, 0x22, 0x82, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e,
+	0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
+	0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+	0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x74, 0x63,
+	0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
+	0x28, 0x04, 0x52, 0x0f, 0x6d, 0x74, 0x63, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d,
+	0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75, 0x62, 0x74, 0x72, 0x65,
+	0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75,
+	0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x6e, 0x64,
+	0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+	0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
+	0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x22, 0x7d, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x6e,
+	0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
+	0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+	0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x74, 0x63,
+	0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
+	0x28, 0x04, 0x52, 0x0f, 0x6d, 0x74, 0x63, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d,
+	0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75, 0x62, 0x74, 0x72, 0x65,
+	0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75,
+	0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x22, 0x2e, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x6e, 0x64,
+	0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a,
+	0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
+	0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52, 0x22, 0x4d, 0x0a, 0x17, 0x4c, 0x61, 0x6e, 0x64, 0x6d,
+	0x61, 0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x12, 0x16,
+	0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
+	0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x58, 0x0a, 0x18, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61,
+	0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+	0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52, 0x18, 0x01, 0x20,
+	0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52, 0x12, 0x22, 0x0a, 0x0c,
+	0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01,
+	0x28, 0x0c, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74,
+	0x32, 0xf6, 0x01, 0x0a, 0x04, 0x4d, 0x54, 0x43, 0x42, 0x12, 0x50, 0x0a, 0x0f, 0x53, 0x74, 0x61,
+	0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x1c, 0x2e, 0x6d,
+	0x74, 0x63, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65,
+	0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x74, 0x63,
+	0x62, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64,
+	0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x0d, 0x47,
+	0x65, 0x74, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x12, 0x17, 0x2e, 0x6d,
+	0x74, 0x63, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65,
+	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, 0x74, 0x63, 0x62, 0x2e, 0x53, 0x74, 0x61,
+	0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+	0x00, 0x12, 0x56, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b,
+	0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x6d, 0x74, 0x63, 0x62, 0x2e,
+	0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65,
+	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x74, 0x63, 0x62, 0x2e, 0x4c,
 	0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67,
-	0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x74, 0x63, 0x4c, 0x6f, 0x67,
-	0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
-	0x28, 0x04, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x58, 0x0a, 0x18, 0x4c, 0x61,
-	0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65,
-	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45,
-	0x52, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x65, 0x72, 0x74, 0x44, 0x45, 0x52,
-	0x12, 0x22, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74,
-	0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x70,
-	0x4c, 0x69, 0x73, 0x74, 0x32, 0xa4, 0x01, 0x0a, 0x04, 0x4d, 0x54, 0x43, 0x42, 0x12, 0x44, 0x0a,
-	0x0d, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x12, 0x17,
-	0x2e, 0x6d, 0x74, 0x63, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65,
-	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, 0x74, 0x63, 0x62, 0x2e, 0x53,
-	0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
-	0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61,
-	0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x6d, 0x74, 0x63,
-	0x62, 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
-	0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x74, 0x63, 0x62,
-	0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76,
-	0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2b, 0x5a, 0x29, 0x67,
-	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e,
-	0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x6d, 0x74,
-	0x63, 0x62, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74,
+	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72,
+	0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x6d, 0x74, 0x63, 0x62,
+	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 })
 
 var (
@@ -275,20 +409,24 @@
 	return file_mtcb_proto_rawDescData
 }
 
-var file_mtcb_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_mtcb_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
 var file_mtcb_proto_goTypes = []any{
-	(*StandaloneRequest)(nil),        // 0: mtcb.StandaloneRequest
-	(*StandaloneResponse)(nil),       // 1: mtcb.StandaloneResponse
-	(*LandmarkRelativeRequest)(nil),  // 2: mtcb.LandmarkRelativeRequest
-	(*LandmarkRelativeResponse)(nil), // 3: mtcb.LandmarkRelativeResponse
+	(*StandaloneReadyRequest)(nil),   // 0: mtcb.StandaloneReadyRequest
+	(*StandaloneReadyResponse)(nil),  // 1: mtcb.StandaloneReadyResponse
+	(*StandaloneRequest)(nil),        // 2: mtcb.StandaloneRequest
+	(*StandaloneResponse)(nil),       // 3: mtcb.StandaloneResponse
+	(*LandmarkRelativeRequest)(nil),  // 4: mtcb.LandmarkRelativeRequest
+	(*LandmarkRelativeResponse)(nil), // 5: mtcb.LandmarkRelativeResponse
 }
 var file_mtcb_proto_depIdxs = []int32{
-	0, // 0: mtcb.MTCB.GetStandalone:input_type -> mtcb.StandaloneRequest
-	2, // 1: mtcb.MTCB.GetLandmarkRelative:input_type -> mtcb.LandmarkRelativeRequest
-	1, // 2: mtcb.MTCB.GetStandalone:output_type -> mtcb.StandaloneResponse
-	3, // 3: mtcb.MTCB.GetLandmarkRelative:output_type -> mtcb.LandmarkRelativeResponse
-	2, // [2:4] is the sub-list for method output_type
-	0, // [0:2] is the sub-list for method input_type
+	0, // 0: mtcb.MTCB.StandaloneReady:input_type -> mtcb.StandaloneReadyRequest
+	2, // 1: mtcb.MTCB.GetStandalone:input_type -> mtcb.StandaloneRequest
+	4, // 2: mtcb.MTCB.GetLandmarkRelative:input_type -> mtcb.LandmarkRelativeRequest
+	1, // 3: mtcb.MTCB.StandaloneReady:output_type -> mtcb.StandaloneReadyResponse
+	3, // 4: mtcb.MTCB.GetStandalone:output_type -> mtcb.StandaloneResponse
+	5, // 5: mtcb.MTCB.GetLandmarkRelative:output_type -> mtcb.LandmarkRelativeResponse
+	3, // [3:6] is the sub-list for method output_type
+	0, // [0:3] is the sub-list for method input_type
 	0, // [0:0] is the sub-list for extension type_name
 	0, // [0:0] is the sub-list for extension extendee
 	0, // [0:0] is the sub-list for field type_name
@@ -305,7 +443,7 @@
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: unsafe.Slice(unsafe.StringData(file_mtcb_proto_rawDesc), len(file_mtcb_proto_rawDesc)),
 			NumEnums:      0,
-			NumMessages:   4,
+			NumMessages:   6,
 			NumExtensions: 0,
 			NumServices:   1,
 		},
diff --git a/mtcb/proto/mtcb.proto b/mtcb/proto/mtcb.proto
index 7de76e1..809ad2d 100644
--- a/mtcb/proto/mtcb.proto
+++ b/mtcb/proto/mtcb.proto
@@ -5,16 +5,32 @@
 
 // MTCB constructs already-issued MTCs from database and log data.
 service MTCB {
+  // StandaloneReady returns whether a given TBSCertificateLogEntry has sufficient signatures
+  // for a standalone certificate to be built.
+  rpc StandaloneReady(StandaloneReadyRequest) returns (StandaloneReadyResponse) {}
   // GetStandalone returns a standalone certificate.
   rpc GetStandalone(StandaloneRequest) returns (StandaloneResponse) {}
   // GetLandmarkRelative returns a landmark-relative certificate.
   rpc GetLandmarkRelative(LandmarkRelativeRequest) returns (LandmarkRelativeResponse) {}
 }
 
-message StandaloneRequest {
-  // Next unused field number: 3
+message StandaloneReadyRequest {
+  // Next unused field number: 4
   string mtcLogID = 1;
-  uint64 serial = 2;
+  uint64 mtcSerialNumber = 2;
+  int64 mtcSubtreeID = 3;
+}
+
+message StandaloneReadyResponse {
+  // Next unused field number: 2
+  bool ready = 1;
+}
+
+message StandaloneRequest {
+  // Next unused field number: 4
+  string mtcLogID = 1;
+  uint64 mtcSerialNumber = 2;
+  int64 mtcSubtreeID = 3;
 }
 
 message StandaloneResponse {
diff --git a/mtcb/proto/mtcb_grpc.pb.go b/mtcb/proto/mtcb_grpc.pb.go
index 7614a65..279b3d5 100644
--- a/mtcb/proto/mtcb_grpc.pb.go
+++ b/mtcb/proto/mtcb_grpc.pb.go
@@ -19,6 +19,7 @@
 const _ = grpc.SupportPackageIsVersion9
 
 const (
+	MTCB_StandaloneReady_FullMethodName     = "/mtcb.MTCB/StandaloneReady"
 	MTCB_GetStandalone_FullMethodName       = "/mtcb.MTCB/GetStandalone"
 	MTCB_GetLandmarkRelative_FullMethodName = "/mtcb.MTCB/GetLandmarkRelative"
 )
@@ -29,6 +30,9 @@
 //
 // MTCB constructs already-issued MTCs from database and log data.
 type MTCBClient interface {
+	// StandaloneReady returns whether a given TBSCertificateLogEntry has sufficient signatures
+	// for a standalone certificate to be built.
+	StandaloneReady(ctx context.Context, in *StandaloneReadyRequest, opts ...grpc.CallOption) (*StandaloneReadyResponse, error)
 	// GetStandalone returns a standalone certificate.
 	GetStandalone(ctx context.Context, in *StandaloneRequest, opts ...grpc.CallOption) (*StandaloneResponse, error)
 	// GetLandmarkRelative returns a landmark-relative certificate.
@@ -43,6 +47,16 @@
 	return &mTCBClient{cc}
 }
 
+func (c *mTCBClient) StandaloneReady(ctx context.Context, in *StandaloneReadyRequest, opts ...grpc.CallOption) (*StandaloneReadyResponse, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
+	out := new(StandaloneReadyResponse)
+	err := c.cc.Invoke(ctx, MTCB_StandaloneReady_FullMethodName, in, out, cOpts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *mTCBClient) GetStandalone(ctx context.Context, in *StandaloneRequest, opts ...grpc.CallOption) (*StandaloneResponse, error) {
 	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(StandaloneResponse)
@@ -69,6 +83,9 @@
 //
 // MTCB constructs already-issued MTCs from database and log data.
 type MTCBServer interface {
+	// StandaloneReady returns whether a given TBSCertificateLogEntry has sufficient signatures
+	// for a standalone certificate to be built.
+	StandaloneReady(context.Context, *StandaloneReadyRequest) (*StandaloneReadyResponse, error)
 	// GetStandalone returns a standalone certificate.
 	GetStandalone(context.Context, *StandaloneRequest) (*StandaloneResponse, error)
 	// GetLandmarkRelative returns a landmark-relative certificate.
@@ -83,6 +100,9 @@
 // pointer dereference when methods are called.
 type UnimplementedMTCBServer struct{}
 
+func (UnimplementedMTCBServer) StandaloneReady(context.Context, *StandaloneReadyRequest) (*StandaloneReadyResponse, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method StandaloneReady not implemented")
+}
 func (UnimplementedMTCBServer) GetStandalone(context.Context, *StandaloneRequest) (*StandaloneResponse, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetStandalone not implemented")
 }
@@ -110,6 +130,24 @@
 	s.RegisterService(&MTCB_ServiceDesc, srv)
 }
 
+func _MTCB_StandaloneReady_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(StandaloneReadyRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(MTCBServer).StandaloneReady(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: MTCB_StandaloneReady_FullMethodName,
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(MTCBServer).StandaloneReady(ctx, req.(*StandaloneReadyRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _MTCB_GetStandalone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(StandaloneRequest)
 	if err := dec(in); err != nil {
@@ -154,6 +192,10 @@
 	HandlerType: (*MTCBServer)(nil),
 	Methods: []grpc.MethodDesc{
 		{
+			MethodName: "StandaloneReady",
+			Handler:    _MTCB_StandaloneReady_Handler,
+		},
+		{
 			MethodName: "GetStandalone",
 			Handler:    _MTCB_GetStandalone_Handler,
 		},
diff --git a/ra/proto/ra.pb.go b/ra/proto/ra.pb.go
index b324507..185c78c 100644
--- a/ra/proto/ra.pb.go
+++ b/ra/proto/ra.pb.go
@@ -651,6 +651,51 @@
 	return ""
 }
 
+type GetOrderRequest struct {
+	state protoimpl.MessageState `protogen:"open.v1"`
+	// Next unused field number: 2
+	OrderID       int64 `protobuf:"varint,1,opt,name=orderID,proto3" json:"orderID,omitempty"`
+	unknownFields protoimpl.UnknownFields
+	sizeCache     protoimpl.SizeCache
+}
+
+func (x *GetOrderRequest) Reset() {
+	*x = GetOrderRequest{}
+	mi := &file_ra_proto_msgTypes[11]
+	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+	ms.StoreMessageInfo(mi)
+}
+
+func (x *GetOrderRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetOrderRequest) ProtoMessage() {}
+
+func (x *GetOrderRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_ra_proto_msgTypes[11]
+	if x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetOrderRequest.ProtoReflect.Descriptor instead.
+func (*GetOrderRequest) Descriptor() ([]byte, []int) {
+	return file_ra_proto_rawDescGZIP(), []int{11}
+}
+
+func (x *GetOrderRequest) GetOrderID() int64 {
+	if x != nil {
+		return x.OrderID
+	}
+	return 0
+}
+
 type GetAuthorizationRequest struct {
 	state         protoimpl.MessageState `protogen:"open.v1"`
 	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
@@ -660,7 +705,7 @@
 
 func (x *GetAuthorizationRequest) Reset() {
 	*x = GetAuthorizationRequest{}
-	mi := &file_ra_proto_msgTypes[11]
+	mi := &file_ra_proto_msgTypes[12]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -672,7 +717,7 @@
 func (*GetAuthorizationRequest) ProtoMessage() {}
 
 func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[11]
+	mi := &file_ra_proto_msgTypes[12]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -685,7 +730,7 @@
 
 // Deprecated: Use GetAuthorizationRequest.ProtoReflect.Descriptor instead.
 func (*GetAuthorizationRequest) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{11}
+	return file_ra_proto_rawDescGZIP(), []int{12}
 }
 
 func (x *GetAuthorizationRequest) GetId() int64 {
@@ -705,7 +750,7 @@
 
 func (x *FinalizeOrderRequest) Reset() {
 	*x = FinalizeOrderRequest{}
-	mi := &file_ra_proto_msgTypes[12]
+	mi := &file_ra_proto_msgTypes[13]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -717,7 +762,7 @@
 func (*FinalizeOrderRequest) ProtoMessage() {}
 
 func (x *FinalizeOrderRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[12]
+	mi := &file_ra_proto_msgTypes[13]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -730,7 +775,7 @@
 
 // Deprecated: Use FinalizeOrderRequest.ProtoReflect.Descriptor instead.
 func (*FinalizeOrderRequest) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{12}
+	return file_ra_proto_rawDescGZIP(), []int{13}
 }
 
 func (x *FinalizeOrderRequest) GetOrder() *proto.Order {
@@ -757,7 +802,7 @@
 
 func (x *UnpauseAccountRequest) Reset() {
 	*x = UnpauseAccountRequest{}
-	mi := &file_ra_proto_msgTypes[13]
+	mi := &file_ra_proto_msgTypes[14]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -769,7 +814,7 @@
 func (*UnpauseAccountRequest) ProtoMessage() {}
 
 func (x *UnpauseAccountRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[13]
+	mi := &file_ra_proto_msgTypes[14]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -782,7 +827,7 @@
 
 // Deprecated: Use UnpauseAccountRequest.ProtoReflect.Descriptor instead.
 func (*UnpauseAccountRequest) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{13}
+	return file_ra_proto_rawDescGZIP(), []int{14}
 }
 
 func (x *UnpauseAccountRequest) GetRegistrationID() int64 {
@@ -802,7 +847,7 @@
 
 func (x *UnpauseAccountResponse) Reset() {
 	*x = UnpauseAccountResponse{}
-	mi := &file_ra_proto_msgTypes[14]
+	mi := &file_ra_proto_msgTypes[15]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -814,7 +859,7 @@
 func (*UnpauseAccountResponse) ProtoMessage() {}
 
 func (x *UnpauseAccountResponse) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[14]
+	mi := &file_ra_proto_msgTypes[15]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -827,7 +872,7 @@
 
 // Deprecated: Use UnpauseAccountResponse.ProtoReflect.Descriptor instead.
 func (*UnpauseAccountResponse) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{14}
+	return file_ra_proto_rawDescGZIP(), []int{15}
 }
 
 func (x *UnpauseAccountResponse) GetCount() int64 {
@@ -851,7 +896,7 @@
 
 func (x *RateLimitOverride) Reset() {
 	*x = RateLimitOverride{}
-	mi := &file_ra_proto_msgTypes[15]
+	mi := &file_ra_proto_msgTypes[16]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -863,7 +908,7 @@
 func (*RateLimitOverride) ProtoMessage() {}
 
 func (x *RateLimitOverride) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[15]
+	mi := &file_ra_proto_msgTypes[16]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -876,7 +921,7 @@
 
 // Deprecated: Use RateLimitOverride.ProtoReflect.Descriptor instead.
 func (*RateLimitOverride) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{15}
+	return file_ra_proto_rawDescGZIP(), []int{16}
 }
 
 func (x *RateLimitOverride) GetLimitEnum() int64 {
@@ -930,7 +975,7 @@
 
 func (x *AddRateLimitOverrideRequest) Reset() {
 	*x = AddRateLimitOverrideRequest{}
-	mi := &file_ra_proto_msgTypes[16]
+	mi := &file_ra_proto_msgTypes[17]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -942,7 +987,7 @@
 func (*AddRateLimitOverrideRequest) ProtoMessage() {}
 
 func (x *AddRateLimitOverrideRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[16]
+	mi := &file_ra_proto_msgTypes[17]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -955,7 +1000,7 @@
 
 // Deprecated: Use AddRateLimitOverrideRequest.ProtoReflect.Descriptor instead.
 func (*AddRateLimitOverrideRequest) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{16}
+	return file_ra_proto_rawDescGZIP(), []int{17}
 }
 
 func (x *AddRateLimitOverrideRequest) GetOverride() *RateLimitOverride {
@@ -976,7 +1021,7 @@
 
 func (x *AddRateLimitOverrideResponse) Reset() {
 	*x = AddRateLimitOverrideResponse{}
-	mi := &file_ra_proto_msgTypes[17]
+	mi := &file_ra_proto_msgTypes[18]
 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 	ms.StoreMessageInfo(mi)
 }
@@ -988,7 +1033,7 @@
 func (*AddRateLimitOverrideResponse) ProtoMessage() {}
 
 func (x *AddRateLimitOverrideResponse) ProtoReflect() protoreflect.Message {
-	mi := &file_ra_proto_msgTypes[17]
+	mi := &file_ra_proto_msgTypes[18]
 	if x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1001,7 +1046,7 @@
 
 // Deprecated: Use AddRateLimitOverrideResponse.ProtoReflect.Descriptor instead.
 func (*AddRateLimitOverrideResponse) Descriptor() ([]byte, []int) {
-	return file_ra_proto_rawDescGZIP(), []int{17}
+	return file_ra_proto_rawDescGZIP(), []int{18}
 }
 
 func (x *AddRateLimitOverrideResponse) GetInserted() bool {
@@ -1109,118 +1154,124 @@
 	0x65, 0x73, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
 	0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4a, 0x04,
 	0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07,
-	0x22, 0x29, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
-	0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
-	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x14, 0x46,
-	0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
-	0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
-	0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52,
-	0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x73, 0x72, 0x18, 0x02, 0x20,
-	0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x73, 0x72, 0x22, 0x3f, 0x0a, 0x15, 0x55, 0x6e, 0x70, 0x61,
-	0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
-	0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
-	0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73,
-	0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x2e, 0x0a, 0x16, 0x55, 0x6e, 0x70,
-	0x61, 0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
-	0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
-	0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x52, 0x61,
-	0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12,
-	0x1c, 0x0a, 0x09, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
-	0x28, 0x03, 0x52, 0x09, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x1c, 0x0a,
-	0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
-	0x52, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63,
-	0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
-	0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18,
-	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
-	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
-	0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
-	0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14,
-	0x0a, 0x05, 0x62, 0x75, 0x72, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62,
-	0x75, 0x72, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c,
-	0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75,
-	0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18,
-	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c,
-	0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x08, 0x6f, 0x76,
-	0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x52, 0x61,
-	0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52,
-	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72,
-	0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72,
-	0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02,
-	0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x31, 0x0a,
-	0x08, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
-	0x15, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76,
-	0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x08, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67,
-	0x32, 0xf1, 0x07, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
-	0x6e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0f, 0x4e, 0x65,
-	0x77, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x2e,
-	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
-	0x6e, 0x1a, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
-	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74,
-	0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79,
-	0x12, 0x20, 0x2e, 0x72, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69,
-	0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x22, 0x2b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
+	0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x22, 0x29, 0x0a,
+	0x17, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
+	0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x61,
+	0x6c, 0x69, 0x7a, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+	0x0b, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72,
+	0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x73, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
+	0x52, 0x03, 0x63, 0x73, 0x72, 0x22, 0x3f, 0x0a, 0x15, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65,
+	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
+	0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
+	0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
+	0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x2e, 0x0a, 0x16, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73,
+	0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+	0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
+	0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x52, 0x61, 0x74, 0x65, 0x4c,
+	0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
+	0x6c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
+	0x09, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x75,
+	0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62,
+	0x75, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
+	0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
+	0x6e, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x01,
+	0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70,
+	0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05,
+	0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x62,
+	0x75, 0x72, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x75, 0x72, 0x73,
+	0x74, 0x22, 0x50, 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69,
+	0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x12, 0x31, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
+	0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69,
+	0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72,
+	0x69, 0x64, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c,
+	0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
+	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x65, 0x64,
+	0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x65, 0x64,
+	0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
+	0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x08, 0x65, 0x78,
+	0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72,
+	0x61, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72,
+	0x69, 0x64, 0x65, 0x52, 0x08, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x32, 0xa1, 0x08,
+	0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75,
+	0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0f, 0x4e, 0x65, 0x77, 0x52, 0x65,
+	0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x2e, 0x63, 0x6f, 0x72,
+	0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x12,
+	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
+	0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
+	0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x2e,
+	0x72, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
+	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+	0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74,
+	0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x16, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76,
+	0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
+	0x21, 0x2e, 0x72, 0x61, 0x2e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52,
+	0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
 	0x73, 0x74, 0x1a, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
-	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x16, 0x44, 0x65, 0x61, 0x63,
-	0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
-	0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x72, 0x61, 0x2e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61,
-	0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67,
-	0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x11, 0x50,
-	0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
-	0x12, 0x1c, 0x2e, 0x72, 0x61, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c,
-	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13,
-	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
-	0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x17, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76,
-	0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
-	0x12, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
-	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
-	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
-	0x53, 0x0a, 0x15, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x42, 0x79, 0x41,
-	0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x65,
-	0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x42, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63,
-	0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
-	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
-	0x74, 0x79, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0f, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65,
-	0x72, 0x74, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x65, 0x76,
-	0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75,
-	0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
-	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x6b, 0x0a,
-	0x21, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x6c,
-	0x79, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
-	0x74, 0x65, 0x12, 0x2c, 0x2e, 0x72, 0x61, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74,
-	0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x6c, 0x79, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65,
-	0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
-	0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
-	0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x08, 0x4e, 0x65,
-	0x77, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x13, 0x2e, 0x72, 0x61, 0x2e, 0x4e, 0x65, 0x77, 0x4f,
-	0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x63, 0x6f,
-	0x72, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x10, 0x47, 0x65,
-	0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b,
-	0x2e, 0x72, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
+	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x11, 0x50, 0x65, 0x72, 0x66,
+	0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e,
+	0x72, 0x61, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
 	0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x63, 0x6f,
 	0x72, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
-	0x22, 0x00, 0x12, 0x38, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4f, 0x72,
-	0x64, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x72, 0x61, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
-	0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e,
-	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e,
-	0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19,
-	0x2e, 0x72, 0x61, 0x2e, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75,
-	0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x72, 0x61, 0x2e, 0x55,
-	0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73,
-	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x52, 0x61,
-	0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12,
-	0x1f, 0x2e, 0x72, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69,
-	0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
-	0x1a, 0x20, 0x2e, 0x72, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d,
-	0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
-	0x73, 0x65, 0x22, 0x00, 0x32, 0x3b, 0x0a, 0x0b, 0x53, 0x43, 0x54, 0x50, 0x72, 0x6f, 0x76, 0x69,
-	0x64, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x53, 0x43, 0x54, 0x73, 0x12, 0x0e,
-	0x2e, 0x72, 0x61, 0x2e, 0x53, 0x43, 0x54, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f,
-	0x2e, 0x72, 0x61, 0x2e, 0x53, 0x43, 0x54, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
-	0x00, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
-	0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 0x6c,
-	0x64, 0x65, 0x72, 0x2f, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72,
-	0x6f, 0x74, 0x6f, 0x33,
+	0x22, 0x00, 0x12, 0x48, 0x0a, 0x17, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65,
+	0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e,
+	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
+	0x6f, 0x6e, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x15,
+	0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x42, 0x79, 0x41, 0x70, 0x70, 0x6c,
+	0x69, 0x63, 0x61, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b,
+	0x65, 0x43, 0x65, 0x72, 0x74, 0x42, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74,
+	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
+	0x00, 0x12, 0x47, 0x0a, 0x0f, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x42,
+	0x79, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x2e, 0x72, 0x61, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65,
+	0x43, 0x65, 0x72, 0x74, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+	0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x21, 0x41, 0x64,
+	0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x6c, 0x79, 0x52, 0x65,
+	0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12,
+	0x2c, 0x2e, 0x72, 0x61, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74,
+	0x69, 0x76, 0x65, 0x6c, 0x79, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69,
+	0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
+	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+	0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x4f, 0x72,
+	0x64, 0x65, 0x72, 0x12, 0x13, 0x2e, 0x72, 0x61, 0x2e, 0x4e, 0x65, 0x77, 0x4f, 0x72, 0x64, 0x65,
+	0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
+	0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4f, 0x72,
+	0x64, 0x65, 0x72, 0x12, 0x13, 0x2e, 0x72, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65,
+	0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
+	0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x75,
+	0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, 0x72, 0x61,
+	0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
+	0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
+	0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12,
+	0x38, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72,
+	0x12, 0x18, 0x2e, 0x72, 0x61, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4f, 0x72,
+	0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x63, 0x6f, 0x72,
+	0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x55, 0x6e, 0x70,
+	0x61, 0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x2e, 0x72, 0x61,
+	0x2e, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52,
+	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x72, 0x61, 0x2e, 0x55, 0x6e, 0x70, 0x61,
+	0x75, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+	0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c,
+	0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x1f, 0x2e, 0x72,
+	0x61, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x76,
+	0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
+	0x72, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f,
+	0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+	0x00, 0x32, 0x3b, 0x0a, 0x0b, 0x53, 0x43, 0x54, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
+	0x12, 0x2c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x53, 0x43, 0x54, 0x73, 0x12, 0x0e, 0x2e, 0x72, 0x61,
+	0x2e, 0x53, 0x43, 0x54, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x72, 0x61,
+	0x2e, 0x53, 0x43, 0x54, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x29,
+	0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x65, 0x74,
+	0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 0x6c, 0x64, 0x65, 0x72,
+	0x2f, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+	0x33,
 })
 
 var (
@@ -1235,7 +1286,7 @@
 	return file_ra_proto_rawDescData
 }
 
-var file_ra_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
+var file_ra_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
 var file_ra_proto_goTypes = []any{
 	(*SCTRequest)(nil),                               // 0: ra.SCTRequest
 	(*SCTResponse)(nil),                              // 1: ra.SCTResponse
@@ -1248,60 +1299,63 @@
 	(*RevokeCertByKeyRequest)(nil),                   // 8: ra.RevokeCertByKeyRequest
 	(*AdministrativelyRevokeCertificateRequest)(nil), // 9: ra.AdministrativelyRevokeCertificateRequest
 	(*NewOrderRequest)(nil),                          // 10: ra.NewOrderRequest
-	(*GetAuthorizationRequest)(nil),                  // 11: ra.GetAuthorizationRequest
-	(*FinalizeOrderRequest)(nil),                     // 12: ra.FinalizeOrderRequest
-	(*UnpauseAccountRequest)(nil),                    // 13: ra.UnpauseAccountRequest
-	(*UnpauseAccountResponse)(nil),                   // 14: ra.UnpauseAccountResponse
-	(*RateLimitOverride)(nil),                        // 15: ra.RateLimitOverride
-	(*AddRateLimitOverrideRequest)(nil),              // 16: ra.AddRateLimitOverrideRequest
-	(*AddRateLimitOverrideResponse)(nil),             // 17: ra.AddRateLimitOverrideResponse
-	(*proto.Authorization)(nil),                      // 18: core.Authorization
-	(*proto.Challenge)(nil),                          // 19: core.Challenge
-	(*proto.Identifier)(nil),                         // 20: core.Identifier
-	(*proto.Order)(nil),                              // 21: core.Order
-	(*durationpb.Duration)(nil),                      // 22: google.protobuf.Duration
-	(*proto.Registration)(nil),                       // 23: core.Registration
-	(*emptypb.Empty)(nil),                            // 24: google.protobuf.Empty
+	(*GetOrderRequest)(nil),                          // 11: ra.GetOrderRequest
+	(*GetAuthorizationRequest)(nil),                  // 12: ra.GetAuthorizationRequest
+	(*FinalizeOrderRequest)(nil),                     // 13: ra.FinalizeOrderRequest
+	(*UnpauseAccountRequest)(nil),                    // 14: ra.UnpauseAccountRequest
+	(*UnpauseAccountResponse)(nil),                   // 15: ra.UnpauseAccountResponse
+	(*RateLimitOverride)(nil),                        // 16: ra.RateLimitOverride
+	(*AddRateLimitOverrideRequest)(nil),              // 17: ra.AddRateLimitOverrideRequest
+	(*AddRateLimitOverrideResponse)(nil),             // 18: ra.AddRateLimitOverrideResponse
+	(*proto.Authorization)(nil),                      // 19: core.Authorization
+	(*proto.Challenge)(nil),                          // 20: core.Challenge
+	(*proto.Identifier)(nil),                         // 21: core.Identifier
+	(*proto.Order)(nil),                              // 22: core.Order
+	(*durationpb.Duration)(nil),                      // 23: google.protobuf.Duration
+	(*proto.Registration)(nil),                       // 24: core.Registration
+	(*emptypb.Empty)(nil),                            // 25: google.protobuf.Empty
 }
 var file_ra_proto_depIdxs = []int32{
-	18, // 0: ra.UpdateAuthorizationRequest.authz:type_name -> core.Authorization
-	19, // 1: ra.UpdateAuthorizationRequest.response:type_name -> core.Challenge
-	18, // 2: ra.PerformValidationRequest.authz:type_name -> core.Authorization
-	20, // 3: ra.NewOrderRequest.identifiers:type_name -> core.Identifier
-	21, // 4: ra.FinalizeOrderRequest.order:type_name -> core.Order
-	22, // 5: ra.RateLimitOverride.period:type_name -> google.protobuf.Duration
-	15, // 6: ra.AddRateLimitOverrideRequest.override:type_name -> ra.RateLimitOverride
-	15, // 7: ra.AddRateLimitOverrideResponse.existing:type_name -> ra.RateLimitOverride
-	23, // 8: ra.RegistrationAuthority.NewRegistration:input_type -> core.Registration
+	19, // 0: ra.UpdateAuthorizationRequest.authz:type_name -> core.Authorization
+	20, // 1: ra.UpdateAuthorizationRequest.response:type_name -> core.Challenge
+	19, // 2: ra.PerformValidationRequest.authz:type_name -> core.Authorization
+	21, // 3: ra.NewOrderRequest.identifiers:type_name -> core.Identifier
+	22, // 4: ra.FinalizeOrderRequest.order:type_name -> core.Order
+	23, // 5: ra.RateLimitOverride.period:type_name -> google.protobuf.Duration
+	16, // 6: ra.AddRateLimitOverrideRequest.override:type_name -> ra.RateLimitOverride
+	16, // 7: ra.AddRateLimitOverrideResponse.existing:type_name -> ra.RateLimitOverride
+	24, // 8: ra.RegistrationAuthority.NewRegistration:input_type -> core.Registration
 	3,  // 9: ra.RegistrationAuthority.UpdateRegistrationKey:input_type -> ra.UpdateRegistrationKeyRequest
 	4,  // 10: ra.RegistrationAuthority.DeactivateRegistration:input_type -> ra.DeactivateRegistrationRequest
 	6,  // 11: ra.RegistrationAuthority.PerformValidation:input_type -> ra.PerformValidationRequest
-	18, // 12: ra.RegistrationAuthority.DeactivateAuthorization:input_type -> core.Authorization
+	19, // 12: ra.RegistrationAuthority.DeactivateAuthorization:input_type -> core.Authorization
 	7,  // 13: ra.RegistrationAuthority.RevokeCertByApplicant:input_type -> ra.RevokeCertByApplicantRequest
 	8,  // 14: ra.RegistrationAuthority.RevokeCertByKey:input_type -> ra.RevokeCertByKeyRequest
 	9,  // 15: ra.RegistrationAuthority.AdministrativelyRevokeCertificate:input_type -> ra.AdministrativelyRevokeCertificateRequest
 	10, // 16: ra.RegistrationAuthority.NewOrder:input_type -> ra.NewOrderRequest
-	11, // 17: ra.RegistrationAuthority.GetAuthorization:input_type -> ra.GetAuthorizationRequest
-	12, // 18: ra.RegistrationAuthority.FinalizeOrder:input_type -> ra.FinalizeOrderRequest
-	13, // 19: ra.RegistrationAuthority.UnpauseAccount:input_type -> ra.UnpauseAccountRequest
-	16, // 20: ra.RegistrationAuthority.AddRateLimitOverride:input_type -> ra.AddRateLimitOverrideRequest
-	0,  // 21: ra.SCTProvider.GetSCTs:input_type -> ra.SCTRequest
-	23, // 22: ra.RegistrationAuthority.NewRegistration:output_type -> core.Registration
-	23, // 23: ra.RegistrationAuthority.UpdateRegistrationKey:output_type -> core.Registration
-	23, // 24: ra.RegistrationAuthority.DeactivateRegistration:output_type -> core.Registration
-	18, // 25: ra.RegistrationAuthority.PerformValidation:output_type -> core.Authorization
-	24, // 26: ra.RegistrationAuthority.DeactivateAuthorization:output_type -> google.protobuf.Empty
-	24, // 27: ra.RegistrationAuthority.RevokeCertByApplicant:output_type -> google.protobuf.Empty
-	24, // 28: ra.RegistrationAuthority.RevokeCertByKey:output_type -> google.protobuf.Empty
-	24, // 29: ra.RegistrationAuthority.AdministrativelyRevokeCertificate:output_type -> google.protobuf.Empty
-	21, // 30: ra.RegistrationAuthority.NewOrder:output_type -> core.Order
-	18, // 31: ra.RegistrationAuthority.GetAuthorization:output_type -> core.Authorization
-	21, // 32: ra.RegistrationAuthority.FinalizeOrder:output_type -> core.Order
-	14, // 33: ra.RegistrationAuthority.UnpauseAccount:output_type -> ra.UnpauseAccountResponse
-	17, // 34: ra.RegistrationAuthority.AddRateLimitOverride:output_type -> ra.AddRateLimitOverrideResponse
-	1,  // 35: ra.SCTProvider.GetSCTs:output_type -> ra.SCTResponse
-	22, // [22:36] is the sub-list for method output_type
-	8,  // [8:22] is the sub-list for method input_type
+	11, // 17: ra.RegistrationAuthority.GetOrder:input_type -> ra.GetOrderRequest
+	12, // 18: ra.RegistrationAuthority.GetAuthorization:input_type -> ra.GetAuthorizationRequest
+	13, // 19: ra.RegistrationAuthority.FinalizeOrder:input_type -> ra.FinalizeOrderRequest
+	14, // 20: ra.RegistrationAuthority.UnpauseAccount:input_type -> ra.UnpauseAccountRequest
+	17, // 21: ra.RegistrationAuthority.AddRateLimitOverride:input_type -> ra.AddRateLimitOverrideRequest
+	0,  // 22: ra.SCTProvider.GetSCTs:input_type -> ra.SCTRequest
+	24, // 23: ra.RegistrationAuthority.NewRegistration:output_type -> core.Registration
+	24, // 24: ra.RegistrationAuthority.UpdateRegistrationKey:output_type -> core.Registration
+	24, // 25: ra.RegistrationAuthority.DeactivateRegistration:output_type -> core.Registration
+	19, // 26: ra.RegistrationAuthority.PerformValidation:output_type -> core.Authorization
+	25, // 27: ra.RegistrationAuthority.DeactivateAuthorization:output_type -> google.protobuf.Empty
+	25, // 28: ra.RegistrationAuthority.RevokeCertByApplicant:output_type -> google.protobuf.Empty
+	25, // 29: ra.RegistrationAuthority.RevokeCertByKey:output_type -> google.protobuf.Empty
+	25, // 30: ra.RegistrationAuthority.AdministrativelyRevokeCertificate:output_type -> google.protobuf.Empty
+	22, // 31: ra.RegistrationAuthority.NewOrder:output_type -> core.Order
+	22, // 32: ra.RegistrationAuthority.GetOrder:output_type -> core.Order
+	19, // 33: ra.RegistrationAuthority.GetAuthorization:output_type -> core.Authorization
+	22, // 34: ra.RegistrationAuthority.FinalizeOrder:output_type -> core.Order
+	15, // 35: ra.RegistrationAuthority.UnpauseAccount:output_type -> ra.UnpauseAccountResponse
+	18, // 36: ra.RegistrationAuthority.AddRateLimitOverride:output_type -> ra.AddRateLimitOverrideResponse
+	1,  // 37: ra.SCTProvider.GetSCTs:output_type -> ra.SCTResponse
+	23, // [23:38] is the sub-list for method output_type
+	8,  // [8:23] is the sub-list for method input_type
 	8,  // [8:8] is the sub-list for extension type_name
 	8,  // [8:8] is the sub-list for extension extendee
 	0,  // [0:8] is the sub-list for field type_name
@@ -1318,7 +1372,7 @@
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ra_proto_rawDesc), len(file_ra_proto_rawDesc)),
 			NumEnums:      0,
-			NumMessages:   18,
+			NumMessages:   19,
 			NumExtensions: 0,
 			NumServices:   2,
 		},
diff --git a/ra/proto/ra.proto b/ra/proto/ra.proto
index 54fc0f6..0db66f8 100644
--- a/ra/proto/ra.proto
+++ b/ra/proto/ra.proto
@@ -17,6 +17,7 @@
   rpc RevokeCertByKey(RevokeCertByKeyRequest) returns (google.protobuf.Empty) {}
   rpc AdministrativelyRevokeCertificate(AdministrativelyRevokeCertificateRequest) returns (google.protobuf.Empty) {}
   rpc NewOrder(NewOrderRequest) returns (core.Order) {}
+  rpc GetOrder(GetOrderRequest) returns (core.Order) {}
   rpc GetAuthorization(GetAuthorizationRequest) returns (core.Authorization) {}
   rpc FinalizeOrder(FinalizeOrderRequest) returns (core.Order) {}
   rpc UnpauseAccount(UnpauseAccountRequest) returns (UnpauseAccountResponse) {}
@@ -106,6 +107,11 @@
   reserved 6; // previously isRenewal
 }
 
+message GetOrderRequest {
+  // Next unused field number: 2
+  int64 orderID = 1;
+}
+
 message GetAuthorizationRequest {
   int64 id = 1;
 }
diff --git a/ra/proto/ra_grpc.pb.go b/ra/proto/ra_grpc.pb.go
index 74bdfc8..eeb542c 100644
--- a/ra/proto/ra_grpc.pb.go
+++ b/ra/proto/ra_grpc.pb.go
@@ -30,6 +30,7 @@
 	RegistrationAuthority_RevokeCertByKey_FullMethodName                   = "/ra.RegistrationAuthority/RevokeCertByKey"
 	RegistrationAuthority_AdministrativelyRevokeCertificate_FullMethodName = "/ra.RegistrationAuthority/AdministrativelyRevokeCertificate"
 	RegistrationAuthority_NewOrder_FullMethodName                          = "/ra.RegistrationAuthority/NewOrder"
+	RegistrationAuthority_GetOrder_FullMethodName                          = "/ra.RegistrationAuthority/GetOrder"
 	RegistrationAuthority_GetAuthorization_FullMethodName                  = "/ra.RegistrationAuthority/GetAuthorization"
 	RegistrationAuthority_FinalizeOrder_FullMethodName                     = "/ra.RegistrationAuthority/FinalizeOrder"
 	RegistrationAuthority_UnpauseAccount_FullMethodName                    = "/ra.RegistrationAuthority/UnpauseAccount"
@@ -49,6 +50,7 @@
 	RevokeCertByKey(ctx context.Context, in *RevokeCertByKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	AdministrativelyRevokeCertificate(ctx context.Context, in *AdministrativelyRevokeCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	NewOrder(ctx context.Context, in *NewOrderRequest, opts ...grpc.CallOption) (*proto.Order, error)
+	GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*proto.Order, error)
 	GetAuthorization(ctx context.Context, in *GetAuthorizationRequest, opts ...grpc.CallOption) (*proto.Authorization, error)
 	FinalizeOrder(ctx context.Context, in *FinalizeOrderRequest, opts ...grpc.CallOption) (*proto.Order, error)
 	UnpauseAccount(ctx context.Context, in *UnpauseAccountRequest, opts ...grpc.CallOption) (*UnpauseAccountResponse, error)
@@ -153,6 +155,16 @@
 	return out, nil
 }
 
+func (c *registrationAuthorityClient) GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*proto.Order, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
+	out := new(proto.Order)
+	err := c.cc.Invoke(ctx, RegistrationAuthority_GetOrder_FullMethodName, in, out, cOpts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *registrationAuthorityClient) GetAuthorization(ctx context.Context, in *GetAuthorizationRequest, opts ...grpc.CallOption) (*proto.Authorization, error) {
 	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(proto.Authorization)
@@ -206,6 +218,7 @@
 	RevokeCertByKey(context.Context, *RevokeCertByKeyRequest) (*emptypb.Empty, error)
 	AdministrativelyRevokeCertificate(context.Context, *AdministrativelyRevokeCertificateRequest) (*emptypb.Empty, error)
 	NewOrder(context.Context, *NewOrderRequest) (*proto.Order, error)
+	GetOrder(context.Context, *GetOrderRequest) (*proto.Order, error)
 	GetAuthorization(context.Context, *GetAuthorizationRequest) (*proto.Authorization, error)
 	FinalizeOrder(context.Context, *FinalizeOrderRequest) (*proto.Order, error)
 	UnpauseAccount(context.Context, *UnpauseAccountRequest) (*UnpauseAccountResponse, error)
@@ -247,6 +260,9 @@
 func (UnimplementedRegistrationAuthorityServer) NewOrder(context.Context, *NewOrderRequest) (*proto.Order, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method NewOrder not implemented")
 }
+func (UnimplementedRegistrationAuthorityServer) GetOrder(context.Context, *GetOrderRequest) (*proto.Order, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method GetOrder not implemented")
+}
 func (UnimplementedRegistrationAuthorityServer) GetAuthorization(context.Context, *GetAuthorizationRequest) (*proto.Authorization, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetAuthorization not implemented")
 }
@@ -442,6 +458,24 @@
 	return interceptor(ctx, in, info, handler)
 }
 
+func _RegistrationAuthority_GetOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(GetOrderRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(RegistrationAuthorityServer).GetOrder(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: RegistrationAuthority_GetOrder_FullMethodName,
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(RegistrationAuthorityServer).GetOrder(ctx, req.(*GetOrderRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _RegistrationAuthority_GetAuthorization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(GetAuthorizationRequest)
 	if err := dec(in); err != nil {
@@ -558,6 +592,10 @@
 			Handler:    _RegistrationAuthority_NewOrder_Handler,
 		},
 		{
+			MethodName: "GetOrder",
+			Handler:    _RegistrationAuthority_GetOrder_Handler,
+		},
+		{
 			MethodName: "GetAuthorization",
 			Handler:    _RegistrationAuthority_GetAuthorization_Handler,
 		},
diff --git a/ra/ra.go b/ra/ra.go
index 88d4157..6cb4a93 100644
--- a/ra/ra.go
+++ b/ra/ra.go
@@ -41,6 +41,7 @@
 	blog "github.com/letsencrypt/boulder/log"
 	"github.com/letsencrypt/boulder/metrics"
 	mtcapb "github.com/letsencrypt/boulder/mtca/proto"
+	mtcbpb "github.com/letsencrypt/boulder/mtcb/proto"
 	"github.com/letsencrypt/boulder/probs"
 	pubpb "github.com/letsencrypt/boulder/publisher/proto"
 	rapb "github.com/letsencrypt/boulder/ra/proto"
@@ -77,6 +78,7 @@
 	PA            core.PolicyAuthority
 	publisher     pubpb.PublisherClient
 	profileToMTCA map[string]mtcapb.MTCAClient
+	mtcb          mtcbpb.MTCBClient
 
 	clk               clock.Clock
 	log               blog.Logger
@@ -129,6 +131,7 @@
 	ctp *ctpolicy.CTPolicy,
 	issuers []*issuance.Certificate,
 	profileToMTCA map[string]mtcapb.MTCAClient,
+	mtcb mtcbpb.MTCBClient,
 ) *RegistrationAuthorityImpl {
 	ctpolicyResults := promauto.With(stats).NewHistogramVec(
 		prometheus.HistogramOpts{
@@ -218,6 +221,7 @@
 		limiter:                 limiter,
 		txnBuilder:              txnBuilder,
 		publisher:               pubc,
+		mtcb:                    mtcb,
 		profileToMTCA:           profileToMTCA,
 		finalizeTimeout:         finalizeTimeout,
 		ctpolicy:                ctp,
@@ -2422,6 +2426,51 @@
 	return storedOrder, nil
 }
 
+// GetOrder returns an order object from the SA. If the SA returns an order in "processing" state,
+// this method will return the same order but with "valid" state if:
+//
+//   - It is an MTC order, and a call to an MTCA indicates that sufficient signatures are available to
+//     product a standalone certificate.
+//   - It is a non-MTC order and the certificateSerial field is nonempty.
+func (ra *RegistrationAuthorityImpl) GetOrder(ctx context.Context, req *rapb.GetOrderRequest) (*corepb.Order, error) {
+	order, err := ra.SA.GetOrder(ctx, &sapb.OrderRequest{Id: req.OrderID})
+	if err != nil {
+		return nil, err
+	}
+
+	if order.Status != string(core.StatusProcessing) {
+		return order, nil
+	}
+
+	if ra.isMTC(order) {
+		if order.MtcSubtreeID == 0 {
+			// Order is processing but not yet sequenced.
+			return order, nil
+		}
+
+		resp, err := ra.mtcb.StandaloneReady(ctx, &mtcbpb.StandaloneReadyRequest{
+			MtcLogID:        order.MtcLogID,
+			MtcSerialNumber: order.MtcSerialNumber,
+			MtcSubtreeID:    order.MtcSubtreeID,
+		})
+		if err != nil {
+			return nil, err
+		}
+		if resp.Ready {
+			order.Status = string(core.StatusValid)
+		}
+	} else {
+		// This duplicates the code in sa.statusForOrder that sets processing to valid for
+		// non-MTC orders when `CertificateSerial` is non-empty. TODO: remove that code and
+		// make RA solely responsible for setting order status to "valid" for both MTC and non-MTC.
+		if order.CertificateSerial != "" {
+			order.Status = string(core.StatusValid)
+		}
+	}
+
+	return order, nil
+}
+
 // wildcardOverlap takes a slice of identifiers and returns an error if any of
 // them is a non-wildcard FQDN that overlaps with a wildcard domain in the map.
 func wildcardOverlap(idents identifier.ACMEIdentifiers) error {
diff --git a/ra/ra_test.go b/ra/ra_test.go
index f237e12..a72dbb4 100644
--- a/ra/ra_test.go
+++ b/ra/ra_test.go
@@ -31,6 +31,7 @@
 	"google.golang.org/grpc"
 	"google.golang.org/grpc/codes"
 	"google.golang.org/grpc/status"
+	"google.golang.org/protobuf/proto"
 	"google.golang.org/protobuf/types/known/durationpb"
 	"google.golang.org/protobuf/types/known/emptypb"
 	"google.golang.org/protobuf/types/known/timestamppb"
@@ -52,6 +53,7 @@
 	"github.com/letsencrypt/boulder/metrics"
 	"github.com/letsencrypt/boulder/mocks"
 	mtcapb "github.com/letsencrypt/boulder/mtca/proto"
+	mtcbpb "github.com/letsencrypt/boulder/mtcb/proto"
 	"github.com/letsencrypt/boulder/policy"
 	pubpb "github.com/letsencrypt/boulder/publisher/proto"
 	rapb "github.com/letsencrypt/boulder/ra/proto"
@@ -380,7 +382,7 @@
 	ra := NewRegistrationAuthorityImpl(
 		fc, log, stats,
 		1, testKeyPolicy, limiter, txnBuilder,
-		profiles, nil, 5*time.Minute, ctp, nil, profileToMTCA)
+		profiles, nil, 5*time.Minute, ctp, nil, profileToMTCA, nil)
 	ra.SA = sa
 	ra.VA = va
 	ra.CA = ca
@@ -3356,7 +3358,7 @@
 		orderID         int64
 		mtcLogID        string
 		mtcSerialNumber uint64
-		mtcSubtreeID    uint64
+		mtcSubtreeID    int64
 	}
 }
 
@@ -3419,6 +3421,138 @@
 	}
 }
 
+// mockSAWithGetOrder returns a fixed order in response to GetOrder().
+type mockSAWithGetOrder struct {
+	sapb.StorageAuthorityClient
+	order *corepb.Order
+}
+
+func (sa *mockSAWithGetOrder) GetOrder(_ context.Context, _ *sapb.OrderRequest, _ ...grpc.CallOption) (*corepb.Order, error) {
+	return proto.Clone(sa.order).(*corepb.Order), nil
+}
+
+// mockMTCBStandaloneReady returns a fixed value in response to StandaloneReady()
+// and records whether it was called.
+type mockMTCBStandaloneReady struct {
+	mtcapb.MTCAClient
+	ready  bool
+	called bool
+}
+
+func (mtcb *mockMTCBStandaloneReady) StandaloneReady(_ context.Context, _ *mtcbpb.StandaloneReadyRequest, _ ...grpc.CallOption) (*mtcbpb.StandaloneReadyResponse, error) {
+	mtcb.called = true
+	return &mtcbpb.StandaloneReadyResponse{Ready: mtcb.ready}, nil
+}
+
+func (mtcb *mockMTCBStandaloneReady) GetStandalone(ctx context.Context, req *mtcbpb.StandaloneRequest, _ ...grpc.CallOption) (*mtcbpb.StandaloneResponse, error) {
+	return nil, fmt.Errorf("unimplemented")
+}
+
+func (mtcb *mockMTCBStandaloneReady) GetLandmarkRelative(ctx context.Context, req *mtcbpb.LandmarkRelativeRequest, _ ...grpc.CallOption) (*mtcbpb.LandmarkRelativeResponse, error) {
+	return nil, fmt.Errorf("unimplemented")
+}
+
+func TestGetOrder(t *testing.T) {
+	testCases := []struct {
+		name           string
+		order          *corepb.Order
+		mtcbReady      bool
+		wantStatus     core.AcmeStatus
+		wantMTCACalled bool
+	}{
+		{
+			name: "non-MTC order, not processing",
+			order: &corepb.Order{
+				Status:                 string(core.StatusReady),
+				CertificateProfileName: "test",
+			},
+			wantStatus: core.StatusReady,
+		},
+		{
+			name: "non-MTC order, processing, no serial",
+			order: &corepb.Order{
+				Status:                 string(core.StatusProcessing),
+				CertificateProfileName: "test",
+			},
+			wantStatus: core.StatusProcessing,
+		},
+		{
+			name: "non-MTC order, processing, with serial",
+			order: &corepb.Order{
+				Status:                 string(core.StatusProcessing),
+				CertificateProfileName: "test",
+				CertificateSerial:      "abcd",
+			},
+			wantStatus: core.StatusValid,
+		},
+		{
+			name: "MTC order, not processing",
+			order: &corepb.Order{
+				Status:                 string(core.StatusReady),
+				CertificateProfileName: "mtcshortlived",
+			},
+			wantStatus: core.StatusReady,
+		},
+		{
+			name: "MTC order, processing, not yet sequenced",
+			order: &corepb.Order{
+				Status:                 string(core.StatusProcessing),
+				CertificateProfileName: "mtcshortlived",
+			},
+			mtcbReady:  true,
+			wantStatus: core.StatusProcessing,
+		},
+		{
+			name: "MTC order, processing, sequenced, not ready",
+			order: &corepb.Order{
+				Status:                 string(core.StatusProcessing),
+				CertificateProfileName: "mtcshortlived",
+				MtcLogID:               "44947.4.1.0.44",
+				MtcSerialNumber:        56,
+				MtcSubtreeID:           34,
+			},
+			wantStatus:     core.StatusProcessing,
+			wantMTCACalled: true,
+		},
+		{
+			name: "MTC order, processing, sequenced, ready",
+			order: &corepb.Order{
+				Status:                 string(core.StatusProcessing),
+				CertificateProfileName: "mtcshortlived",
+				MtcLogID:               "44947.4.1.0.44",
+				MtcSerialNumber:        56,
+				MtcSubtreeID:           34,
+			},
+			mtcbReady:      true,
+			wantStatus:     core.StatusValid,
+			wantMTCACalled: true,
+		},
+	}
+
+	for _, tc := range testCases {
+		t.Run(tc.name, func(t *testing.T) {
+			_, _, ra, _, _, _, cleanup := initAuthorities(t)
+			defer cleanup()
+
+			ra.profiles.byName["mtcshortlived"] = &validationProfile{mtc: true}
+			mockMTCB := &mockMTCBStandaloneReady{ready: tc.mtcbReady}
+			ra.mtcb = mockMTCB
+			ra.SA = &mockSAWithGetOrder{order: tc.order}
+
+			got, err := ra.GetOrder(t.Context(), &rapb.GetOrderRequest{OrderID: 1234})
+			if err != nil {
+				t.Fatalf("GetOrder: %s", err)
+			}
+			if got.Status != string(tc.wantStatus) {
+				t.Errorf("Status = %q, want %q", got.Status, tc.wantStatus)
+			}
+			if mockMTCB.called != tc.wantMTCACalled {
+				t.Errorf("MTCA StandaloneReady called = %t, want %t", mockMTCB.called, tc.wantMTCACalled)
+			}
+		})
+	}
+}
+
 func TestNewOrderMaxNames(t *testing.T) {
 	_, _, ra, _, _, _, cleanUp := initAuthorities(t)
 	defer cleanUp()
diff --git a/sa/db/01-boulder_sa_next.sql b/sa/db/01-boulder_sa_next.sql
index 798b9d6..a36466a7 100644
--- a/sa/db/01-boulder_sa_next.sql
+++ b/sa/db/01-boulder_sa_next.sql
@@ -253,6 +253,6 @@
   ADD COLUMN `mtcLogID` varchar(255) DEFAULT NULL,
   ADD COLUMN `mtcSerialNumber` bigint(20) unsigned DEFAULT NULL,
   -- A reference to the `subtreeCheckpoints` table.
-  ADD COLUMN `mtcSubtreeID` bigint(20) unsigned DEFAULT NULL;
+  ADD COLUMN `mtcSubtreeID` bigint(20) DEFAULT NULL;
 
 ALTER TABLE `authz2` ADD COLUMN `beganProcessing` tinyint(1) NOT NULL DEFAULT 0;
diff --git a/sa/model.go b/sa/model.go
index 6466d59..3d2c71a7b 100644
--- a/sa/model.go
+++ b/sa/model.go
@@ -352,7 +352,7 @@
 
 	MTCLogID        *string
 	MTCSerialNumber *uint64
-	MTCSubtreeID    *uint64
+	MTCSubtreeID    *int64
 }
 
 // optionalStr returns "" if s is nil, otherwise *s.
@@ -371,6 +371,14 @@
 	return *i
 }
 
+// optionalInt64 returns 0 if i is nil, otherwise *i.
+func optionalInt64(i *int64) int64 {
+	if i == nil {
+		return 0
+	}
+	return *i
+}
+
 func unpackAuthzIDs(authzs []byte) ([]int64, error) {
 	if len(authzs) == 0 {
 		return nil, nil
@@ -400,7 +408,7 @@
 		V2Authorizations:       v2Authorizations,
 		MtcLogID:               optionalStr(om.MTCLogID),
 		MtcSerialNumber:        optionalUint64(om.MTCSerialNumber),
-		MtcSubtreeID:           optionalUint64(om.MTCSubtreeID),
+		MtcSubtreeID:           optionalInt64(om.MTCSubtreeID),
 	}
 	if len(om.Error) > 0 {
 		var problem corepb.ProblemDetails
diff --git a/sa/proto/sa.pb.go b/sa/proto/sa.pb.go
index bbd9bb1..0836789 100644
--- a/sa/proto/sa.pb.go
+++ b/sa/proto/sa.pb.go
@@ -1317,7 +1317,7 @@
 	Id              int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 	MtcLogID        string                 `protobuf:"bytes,2,opt,name=mtcLogID,proto3" json:"mtcLogID,omitempty"`
 	MtcSerialNumber uint64                 `protobuf:"varint,3,opt,name=mtcSerialNumber,proto3" json:"mtcSerialNumber,omitempty"`
-	MtcSubtreeID    uint64                 `protobuf:"varint,4,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
+	MtcSubtreeID    int64                  `protobuf:"varint,4,opt,name=mtcSubtreeID,proto3" json:"mtcSubtreeID,omitempty"`
 	unknownFields   protoimpl.UnknownFields
 	sizeCache       protoimpl.SizeCache
 }
@@ -1373,7 +1373,7 @@
 	return 0
 }
 
-func (x *FinalizeMTCOrderRequest) GetMtcSubtreeID() uint64 {
+func (x *FinalizeMTCOrderRequest) GetMtcSubtreeID() int64 {
 	if x != nil {
 		return x.MtcSubtreeID
 	}
@@ -3601,7 +3601,7 @@
 	0x63, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20,
 	0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x74, 0x63, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75,
 	0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x74, 0x63, 0x53, 0x75, 0x62, 0x74, 0x72,
-	0x65, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x74, 0x63, 0x53,
+	0x65, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x74, 0x63, 0x53,
 	0x75, 0x62, 0x74, 0x72, 0x65, 0x65, 0x49, 0x44, 0x22, 0xd8, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74,
 	0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
 	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
diff --git a/sa/proto/sa.proto b/sa/proto/sa.proto
index c3fbafb..e107778 100644
--- a/sa/proto/sa.proto
+++ b/sa/proto/sa.proto
@@ -287,7 +287,7 @@
   int64 id = 1;
   string mtcLogID = 2;
   uint64 mtcSerialNumber = 3;
-  uint64 mtcSubtreeID = 4;
+  int64 mtcSubtreeID = 4;
 }
 
 message GetAuthorizationsRequest {
diff --git a/sa/sa_test.go b/sa/sa_test.go
index 93662b6..7ce5e9f 100644
--- a/sa/sa_test.go
+++ b/sa/sa_test.go
@@ -1446,7 +1446,7 @@
 	test.AssertNotError(t, err, "GetOrder failed")
 	test.AssertEquals(t, updatedOrder.MtcLogID, "44947.4.1.0.44")
 	test.AssertEquals(t, updatedOrder.MtcSerialNumber, uint64(23))
-	test.AssertEquals(t, updatedOrder.MtcSubtreeID, uint64(99))
+	test.AssertEquals(t, updatedOrder.MtcSubtreeID, int64(99))
 
 	test.AssertEquals(t, updatedOrder.Status, string(core.StatusProcessing))
 
diff --git a/test/config-next/mtcb.json b/test/config-next/mtcb.json
index 3454dbd..9aa43ac 100644
--- a/test/config-next/mtcb.json
+++ b/test/config-next/mtcb.json
@@ -10,7 +10,7 @@
 			"services": {
 				"mtcb.MTCB": {
 					"clientNames": [
-						"wfe.boulder"
+						"ra.boulder"
 					]
 				},
 				"grpc.health.v1.Health": {
diff --git a/test/config-next/ra.json b/test/config-next/ra.json
index 8b6836d..f043086 100644
--- a/test/config-next/ra.json
+++ b/test/config-next/ra.json
@@ -100,6 +100,16 @@
 				"hostOverride": "mtca.boulder"
 			}
 		},
+		"mtcbService": {
+			"dnsAuthority": "consul.service.consul",
+			"srvLookup": {
+				"service": "mtcb",
+				"domain": "service.consul"
+			},
+			"timeout": "20s",
+			"noWaitForReady": true,
+			"hostOverride": "mtcb.boulder"
+		},
 		"vaService": {
 			"dnsAuthority": "consul.service.consul",
 			"srvLookup": {
diff --git a/test/config-next/wfe2.json b/test/config-next/wfe2.json
index 5cc5123..acec82e 100644
--- a/test/config-next/wfe2.json
+++ b/test/config-next/wfe2.json
@@ -133,6 +133,7 @@
 			"OverridesFromDB": true
 		},
 		"features": {
+			"WFECallsRAForGetOrder": true,
 			"PropagateCancels": true,
 			"CheckIdentifiersPaused": true
 		},
diff --git a/test/config/mtcb.json b/test/config/mtcb.json
index 3454dbd..9aa43ac 100644
--- a/test/config/mtcb.json
+++ b/test/config/mtcb.json
@@ -10,7 +10,7 @@
 			"services": {
 				"mtcb.MTCB": {
 					"clientNames": [
-						"wfe.boulder"
+						"ra.boulder"
 					]
 				},
 				"grpc.health.v1.Health": {
diff --git a/test/config/ra.json b/test/config/ra.json
index a9358e4..dcb3e38 100644
--- a/test/config/ra.json
+++ b/test/config/ra.json
@@ -72,6 +72,16 @@
 			"certFile": "test/certs/ipki/ra.boulder/cert.pem",
 			"keyFile": "test/certs/ipki/ra.boulder/key.pem"
 		},
+		"mtcbService": {
+			"dnsAuthority": "consul.service.consul",
+			"srvLookup": {
+				"service": "mtcb",
+				"domain": "service.consul"
+			},
+			"timeout": "20s",
+			"noWaitForReady": true,
+			"hostOverride": "mtcb.boulder"
+		},
 		"vaService": {
 			"dnsAuthority": "consul.service.consul",
 			"srvLookup": {
diff --git a/trees/treedb/treedb.go b/trees/treedb/treedb.go
index 9664138..e814306 100644
--- a/trees/treedb/treedb.go
+++ b/trees/treedb/treedb.go
@@ -48,7 +48,6 @@
 	return len(c.MTCASignature) > 0 && c.MirrorID != nil && len(c.MirrorSignature) > 0
 }
 
-// CheckpointSubtreeModel represents a row in the `checkpointSubtrees` table.
 type CheckpointSubtreeModel struct {
 	ID              int64   `db:"id"`
 	MTCLogID        string  `db:"mtcLogID"`
@@ -60,6 +59,28 @@
 	SubtreeHash     []byte  `db:"subtreeHash"`
 }
 
+func (s *CheckpointSubtreeModel) Valid() error {
+	if len(s.MTCLogID) == 0 {
+		return errors.New("MTCLogID is empty")
+	}
+	if s.SubtreeEnd <= s.SubtreeStart ||
+		s.SubtreeEnd >= 1<<48 {
+		return fmt.Errorf("Subtree [%d, %d) is invalid", s.SubtreeStart, s.SubtreeEnd)
+	}
+	if len(s.SubtreeHash) == 0 {
+		return errors.New("SubtreeHash is empty")
+	}
+	if len(s.SubtreeHash) != sha256.Size {
+		return fmt.Errorf("SubtreeHash is %d bytes", len(s.SubtreeHash))
+	}
+
+	return nil
+}
+
+func (s *CheckpointSubtreeModel) Mirrored() bool {
+	return len(s.MTCASignature) > 0 && s.MirrorID != nil && len(s.MirrorSignature) > 0
+}
+
 type Impl struct {
 	db *db.WrappedMap
 }
@@ -91,30 +112,6 @@
 	return latest, nil
 }
 
-// ContainingCheckpoint returns the smallest checkpoint of the log that includes
-// entryIndex and carries both the MTCA signature and the mirror cosignature.
-func (i *Impl) ContainingCheckpoint(ctx context.Context, mtcLogID string, entryIndex int64) (*CheckpointModel, error) {
-	var cp CheckpointModel
-	err := i.db.SelectOne(ctx, &cp,
-		`SELECT id, mtcLogID, mtcaSignature, mirrorID,
-		        mirrorSignature, treeSize, rootHash,
-		        subtreeID1, subtreeID2
-		 FROM checkpoints
-		 WHERE mtcLogID = ? AND
-		       treeSize > ? AND
-		       mtcaSignature IS NOT NULL AND
-		       mirrorID IS NOT NULL AND
-		       mirrorSignature IS NOT NULL
-		 ORDER BY treeSize
-		 LIMIT 1`,
-		mtcLogID,
-		entryIndex)
-	if err != nil {
-		return nil, fmt.Errorf("getting checkpoint covering index %d of %q: %w", entryIndex, mtcLogID, err)
-	}
-	return &cp, nil
-}
-
 // InsertCheckpoint inserts the given CheckpointModel into the database.
 //
 // It modifies its parameter's ID field to set the newly allocated autoincrement ID.
@@ -163,3 +160,20 @@
 func (i *Impl) WithTransaction(ctx context.Context, f TxFunc) (any, error) {
 	return db.WithTransaction(ctx, i.db, f)
 }
+
+func (i *Impl) GetCheckpointSubtree(ctx context.Context, mtcLogID string, id int64) (*CheckpointSubtreeModel, error) {
+	var checkpointSubtree CheckpointSubtreeModel
+	err := i.db.SelectOne(ctx, &checkpointSubtree,
+		`SELECT id, mtcLogID, mtcaSignature,
+				mirrorID, mirrorSignature,
+				subtreeStart, subtreeEnd, subtreeHash
+		 FROM checkpointSubtrees
+		 WHERE mtcLogID = ? AND
+		 	id = ?`,
+		mtcLogID,
+		id)
+	if err != nil {
+		return nil, err
+	}
+	return &checkpointSubtree, nil
+}
diff --git a/wfe2/wfe.go b/wfe2/wfe.go
index f9511a9..e16483f 100644
--- a/wfe2/wfe.go
+++ b/wfe2/wfe.go
@@ -2570,7 +2570,12 @@
 		return
 	}
 
-	order, err := wfe.sa.GetOrder(ctx, &sapb.OrderRequest{Id: orderID})
+	var order *corepb.Order
+	if features.Get().WFECallsRAForGetOrder {
+		order, err = wfe.ra.GetOrder(ctx, &rapb.GetOrderRequest{OrderID: orderID})
+	} else {
+		order, err = wfe.sa.GetOrder(ctx, &sapb.OrderRequest{Id: orderID})
+	}
 	if err != nil {
 		if errors.Is(err, berrors.NotFound) {
 			wfe.sendError(response, logEvent, probs.NotFound(fmt.Sprintf("No order for ID %d", orderID)), nil)
@@ -2652,7 +2657,12 @@
 		return
 	}
 
-	order, err := wfe.sa.GetOrder(ctx, &sapb.OrderRequest{Id: orderID})
+	var order *corepb.Order
+	if features.Get().WFECallsRAForGetOrder {
+		order, err = wfe.ra.GetOrder(ctx, &rapb.GetOrderRequest{OrderID: orderID})
+	} else {
+		order, err = wfe.sa.GetOrder(ctx, &sapb.OrderRequest{Id: orderID})
+	}
 	if err != nil {
 		if errors.Is(err, berrors.NotFound) {
 			wfe.sendError(response, logEvent, probs.NotFound(fmt.Sprintf("No order for ID %d", orderID)), nil)