Skip to content

Commit

Permalink
🔖 Release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iota9star committed Apr 6, 2024
1 parent b9d867e commit 3aea58d
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.0

- Added support for atomicals URN resolution.

## 0.1.7

- Added support for real-time caching.
Expand Down
65 changes: 60 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elex-proxy"
version = "0.1.7"
version = "0.2.0"
edition = "2021"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -10,7 +10,7 @@ axum = { version = "^0.7.5", features = ["http2"] }
futures = "^0"
serde = { version = "^1.0.197", features = ["derive"] }
serde_json = "^1.0.115"
tokio = { version = "^1.36.0", features = ["full"] }
tokio = { version = "^1.37.0", features = ["full"] }
tokio-stream = "^0.1.15"
tungstenite = "^0"
tokio-tungstenite = { version = "^0", features = ["native-tls"] }
Expand All @@ -31,9 +31,11 @@ regex = "^1.10.4"
headers = "0.4.0"
forwarded-header-value = "0.1.1"
rand = "0.8.5"
bitcoin = "0.31.1"
bitcoin = "0.31.2"
hex = "0.4.3"
moka = { version = "0.12.5", features = ["future"] }
ciborium = "0.2.2"
mime_guess = "2.0.4"

[build-dependencies]
vergen = { version = "9.0.0-beta.2", features = ["build", "cargo", "rustc"] }
Expand Down
8 changes: 4 additions & 4 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ RESPONSE_TIMEOUT=10
# 默认 10000, 最大的缓存数量
MAX_CACHE_ENTRIES=10000
# 默认 480s, 缓存最大存活时间
CACHE_TIME_TO_LIVE=480
# 默认 90s, 缓存空闲时间,如果没有访问,缓存将被移除
CACHE_TIME_TO_IDLE=90
# 默认 600s, 缓存最大存活时间
CACHE_TIME_TO_LIVE=600
# 默认 180s, 缓存空闲时间,如果没有访问,缓存将被移除
CACHE_TIME_TO_IDLE=180
# 不启用缓存的方法, 用逗号区分多个方法,默认值 "blockchain.atomicals.get_global,blockchain.estimatefee,blockchain.scripthash.subscribe,blockchain.transaction.broadcast,server.peers.subscribe,server.ping,mempool.get_fee_histogram,blockchain.atomicals.dump,blockchain.scripthash.unsubscribe,blockchain.relayfee"
NO_CACHE_METHODS=blockchain.atomicals.get_global,blockchain.estimatefee,blockchain.scripthash.subscribe,blockchain.transaction.broadcast,server.peers.subscribe,server.ping,mempool.get_fee_histogram,blockchain.atomicals.dump,blockchain.scripthash.unsubscribe,blockchain.relayfee
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ RESPONSE_TIMEOUT=10
# Default 10000, max cache entry
MAX_CACHE_ENTRIES=10000
# Default 480s, cache max live time
CACHE_TIME_TO_LIVE=480
# Default 60s, cache idle time, if no access, cache will be removed
CACHE_TIME_TO_IDLE=90
# Default 600s, cache max live time
CACHE_TIME_TO_LIVE=600
# Default 180s, cache idle time, if no access, cache will be removed
CACHE_TIME_TO_IDLE=180
# no cache methods, use comma to separate multiple methods, default "blockchain.atomicals.get_global,blockchain.estimatefee,blockchain.scripthash.subscribe,blockchain.transaction.broadcast,server.peers.subscribe,server.ping,mempool.get_fee_histogram,blockchain.atomicals.dump,blockchain.scripthash.unsubscribe,blockchain.relayfee"
NO_CACHE_METHODS=blockchain.atomicals.get_global,blockchain.estimatefee,blockchain.scripthash.subscribe,blockchain.transaction.broadcast,server.peers.subscribe,server.ping,mempool.get_fee_histogram,blockchain.atomicals.dump,blockchain.scripthash.unsubscribe,blockchain.relayfee
Expand Down

0 comments on commit 3aea58d

Please sign in to comment.