-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change bitcoin library to tapyrus #1
Conversation
fbfb96f
to
5c258a3
Compare
5c258a3
to
5db96e6
Compare
@@ -125,20 +102,20 @@ mod download { | |||
}; | |||
|
|||
let tarball_hash = sha256::Hash::hash(&tarball_bytes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
リリースされているtarballのsha256値を検証する箇所はスキップしてます。
@@ -270,7 +287,9 @@ impl BitcoinD { | |||
|
|||
let work_dir_path = work_dir.path(); | |||
debug!("work_dir: {:?}", work_dir_path); | |||
let cookie_file = work_dir_path.join(conf.network).join(".cookie"); | |||
let cookie_file = work_dir_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cookieファイルの生成場所を変更
<Tapyrusのデータディレクトリ>/regtest/.cookie
=> <Tapyrusのデータディレクトリ>/dev-(ネットワークID)/.cookie
"launching {:?} with args: {:?} {:?} AND custom args: {:?}", | ||
exe.as_ref(), | ||
default_args, | ||
p2p_args, | ||
conf_args | ||
); | ||
|
||
File::create(format!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
genesisファイルを作成
assert_eq!(1, info.blocks); | ||
} | ||
|
||
#[test] | ||
#[cfg(feature = "0_21_2")] | ||
#[ignore] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getindexinfo
はtapyrusでは未実装
#[test] | ||
#[ignore] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getbalancesはtapyrusでは未実装
5db96e6
to
57f5a6c
Compare
57f5a6c
to
d9f9cfb
Compare
see chaintope/tdk#8