chore: update for neptune-core betanet

updates some deps and one minor code change since uncle
blocks no longer occur.
This commit is contained in:
danda 2024-11-23 00:47:36 +00:00
parent 508f6ecc28
commit 0bc81d2382
3 changed files with 570 additions and 241 deletions

795
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,13 +6,15 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = {version = "0.7.5", features = ["macros"] }
axum = { version = "0.7.9", features = ["macros"] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
tokio = { version = "1.37.0", features = ["full", "tracing"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
neptune-core = {git = "https://github.com/Neptune-Crypto/neptune-core.git", rev = "5ef2423677e387387ba6b3cfb7c0ffc58f57c913"}
# 1f4afb0c000e60f976a15a990414349d17207524 = betanet
neptune-core = {git = "https://github.com/Neptune-Crypto/neptune-core.git", rev = "1f4afb0c000e60f976a15a990414349d17207524"}
tarpc = { version = "^0.34", features = [
"tokio1",
"serde-transport",
@ -35,7 +37,7 @@ arc-swap = "1.7.1"
[patch.crates-io]
# 694f27daf78aade0ed0dc07e3babaab036cd5572 is tip of branch: master as of 2024-04-30
tasm-lib = { git = "https://github.com/TritonVM/tasm-lib.git", rev = "694f27daf78aade0ed0dc07e3babaab036cd5572" }
#tasm-lib = { git = "https://github.com/TritonVM/tasm-lib.git", rev = "694f27daf78aade0ed0dc07e3babaab036cd5572" }
# 0d2cb98c0495d30e53d28e82a35de44dc655c3ea = tip of branch: master, on 2024-04-24
twenty-first = { git = "https://github.com/Neptune-Crypto/twenty-first.git", rev = "0d2cb98c0495d30e53d28e82a35de44dc655c3ea" }
#twenty-first = { git = "https://github.com/Neptune-Crypto/twenty-first.git", rev = "0d2cb98c0495d30e53d28e82a35de44dc655c3ea" }

View File

@ -39,10 +39,6 @@
<td>Outputs</td>
<td>{{self.block_info.num_outputs}}</td>
</tr>
<tr>
<td>Uncle blocks</td>
<td>{{self.block_info.num_uncle_blocks}}</td>
</tr>
<tr>
<td>Difficulty</td>
<td>{{self.block_info.difficulty}}</td>