chaintope / tapyrus-signer

Tapyrus Signer reference implementation.
GNU General Public License v3.0
7 stars 8 forks source link

Add extra field to block header #109

Closed Yamaguchi closed 4 years ago

Yamaguchi commented 4 years ago

This pull request will add the "xfield" feature proposed at https://github.com/chaintope/tapyrus-core/issues/66

Yamaguchi commented 4 years ago

Block#hash()がなにやっているのかわからなかったんですが、ログ以外では使っていないようなので、放置してます。

rantan commented 4 years ago

Block#hash()がなにやっているのかわからなかったんですが、ログ以外では使っていないようなので、放置してます。

もともとブロックハッシュを返すための関数だと思いますが、federation management が実装されて、集約公開鍵がセットされた場合に正しい値を返せなくなっているのだと思います。正しい値を返すようにするか、消したほうが混乱が無い気がします。 使っていないのであれば、消して良いのでは。

Yamaguchi commented 4 years ago

使っていないのであれば、消して良いのでは。

fix at b99aafa