Method and apparatus for processing blockchain messages
AssigneeElectronics and Telecommunications Research Institute
InventorHwanjo HEO
Life of this patent
Estimating the term…
Abstract
A method for processing blockchain messages in a blockchain node of a blockchain system is provided. The blockchain node receives a transaction delivery message including at least one transaction, checks a reference block height indicating a time point in which the transaction is composed or a time point when the transaction is verified, and verifies validity of the transaction using the reference block height and a current block height.
Claims20
A method for processing blockchain messages in a blockchain node of the blockchain system, the method comprising:
- receiving a transaction delivery message including at least one transaction;
- checking a reference block height indicating a time point in which the transaction is composed or a time point when the transaction is verified;
- and
- verifying validity of the transaction using the reference block height and a current block height.
An apparatus for processing blockchain messages in a blockchain system, the apparatus comprising:
- a read loop processor that reads messages existing on a network pipe;
- a message processor that transmits the messages to a first input channel having a higher priority or a second input channel having a lower priority according to a priority;
- and
- a subprotocol message processor that processes the messages of the first input channel first, and processes the messages of the second input channel when there is no message in the first input channel,
- wherein when the subprotocol message processor receives a transaction delivery message including a transaction, it verifies validity of the transaction, and when a current block height is out of the range of a reservation period of a final validity determination, sets a validation result of the transaction as a final value, and does not perform validation of the transaction when the same transaction is received later.
Dependencies are inferred from the claim text.