|
|
|
|
BitcoinCoreDateTimeLatestBlock (Function) In french: BitcoinCoreDateHeureDernierBloc Returns the date and time when the latest block was created. Remark: On average, a new block is produced by the network every 10 minutes. BitcoinCoreDateTimeLatestBlock can be used to: - determine whether the Bitcoin node has lost its connection/synchronization with the network.
- have strong proof that a date/time has passed without having to rely on the date/time of the computer.
d is DateTime
d = BitcoinCoreDateTimeLatestBlock()
IF ErrorOccurred THEN
Error()
RETURN
END
Trace("Latest block:" + DateToString(d))
Syntax
<Result> = BitcoinCoreDateTimeLatestBlock()
<Result>: DateTime Date and time the latest block was created. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|