「Block timestamp」の版間の差分

提供: tezos-wiki
移動先: 案内検索
(1版 をインポートしました)
1行目: 1行目:
Each block contains a [http://en.wikipedia.org/wiki/Unix_time Unix time] timestamp. In addition to serving as a source of variation for the [[Block_hashing_algorithm|block hash]], they also make it more difficult for an adversary to manipulate the block chain.
+
各ブロックには[http://en.wikipedia.org/wiki/Unix_time Unix time]タイムスタンプが含まれています。 [[Block_hashing_algorithm | block hash]]のバリエーションのソースとしての役割を果たすだけでなく、敵対者がブロックチェーンを操作することも難しくなります。
  
A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours. "Network-adjusted time" is the median of the timestamps returned by all nodes connected to you. As a result, block timestamps are not exactly accurate, and they do not even need to be in order. Block times are accurate only to within an hour or two.
+
タイムスタンプは、それが前の11ブロックのメジアンタイムスタンプよりも大きく、ネットワーク調整時間+ 2時間よりも短い場合、有効であるとして受け入れられる。 「ネットワーク調整時間」は、接続されているすべてのノードから返されたタイムスタンプの中央値です。その結果、ブロックタイムスタンプは正確には正確ではなく、順調である必要はありません。ブロック時間は1時間または2時間以内にのみ正確です。
  
Whenever a node connects to another node, it gets a UTC timestamp from it, and stores its offset from node-local UTC. The network-adjusted time is then the node-local UTC plus the median offset from all connected nodes. Network time is never adjusted more than 70 minutes from local system time, however.
+
ノードが別のノードに接続するたびに、ノードはUTCタイムスタンプを取得し、ノードローカルUTCからそのオフセットを格納します。ネットワークで調整された時間は、ノードローカルのUTCと、接続されたすべてのノードからのメジアンオフセットです。ただし、ネットワーク時刻はローカルシステム時刻から70分以上調整されません。
  
Bitcoin uses an unsigned integer for the timestamp, so the [[:Wikipedia:Year_2038_problem|year 2038 problem]] is delayed for another 68 years.
+
Bitcoinはタイムスタンプに符号なし整数を使用するため、[[:Wikipedia:Year2038_problem | 2038年の問題]]はさらに68年間遅れます。
  
[[Category:Technical]]
+
[[Category:技術]]

2018年4月13日 (金) 02:02時点における版

各ブロックにはUnix timeタイムスタンプが含まれています。 block hashのバリエーションのソースとしての役割を果たすだけでなく、敵対者がブロックチェーンを操作することも難しくなります。

タイムスタンプは、それが前の11ブロックのメジアンタイムスタンプよりも大きく、ネットワーク調整時間+ 2時間よりも短い場合、有効であるとして受け入れられる。 「ネットワーク調整時間」は、接続されているすべてのノードから返されたタイムスタンプの中央値です。その結果、ブロックタイムスタンプは正確には正確ではなく、順調である必要はありません。ブロック時間は1時間または2時間以内にのみ正確です。

ノードが別のノードに接続するたびに、ノードはUTCタイムスタンプを取得し、ノードローカルUTCからそのオフセットを格納します。ネットワークで調整された時間は、ノードローカルのUTCと、接続されたすべてのノードからのメジアンオフセットです。ただし、ネットワーク時刻はローカルシステム時刻から70分以上調整されません。

Bitcoinはタイムスタンプに符号なし整数を使用するため、 2038年の問題はさらに68年間遅れます。

Category:技術