主权项 |
1. An apparatus, comprising:
an instance of a distributed database at a first compute device configured to be included within a plurality of compute devices that implements the distributed database via a network operatively coupled to the plurality of compute devices, the first compute device configured to store an indication of a plurality of transactions in the instance of the distributed database; and a processor of the first compute device operatively coupled to the instance of the distributed database, the processor configured to define, at a first time, a first event linked to a first plurality of events, each event from the first plurality of events being a sequence of bytes and associated with (1) a set of transactions from a plurality of sets of transactions and (2) an order associated with the set of transactions, each transaction from the set of transactions being from the plurality of transactions, the processor configured to receive, at a second time after the first time and from a second compute device from the plurality of compute devices, a second event (1) defined by the second compute device and (2) linked to a second plurality of events, the processor configured to define a third event linked to the first event and the second event, the processor configured to identify an order associated with a third plurality of events based at least on the first plurality of events and the second plurality of events, each event from the third plurality of events being from at least one of the first plurality of events or the second plurality of events, the processor configured to identify an order associated with the plurality of transactions based at least on (1) the order associated with the third plurality of events and (2) the order associated with each set of transactions from the plurality of sets of transactions, the processor configured to store in the instance of the distributed database the order associated with the plurality of transactions. |