Skip to content
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

Add bitmask endpoint to both get_env and set_env. #261

Merged
merged 38 commits into from
Jul 11, 2023
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3093b33
feat: bump rgb version
crisdut Jun 23, 2023
ce35c19
feat: conseq transfers
crisdut Jun 27, 2023
1103d2e
feat: allow build psbt with multiple inputs
crisdut Jun 27, 2023
decb58f
Merge branch 'development' into CD/conseq-transfers
cryptoquick Jun 27, 2023
79274e2
Bump version to 0.6.0-rc.3.
cryptoquick Jun 27, 2023
cf587fb
Bump version to 0.6.0-rc.4.
cryptoquick Jun 27, 2023
339d993
fix: transfers tests
crisdut Jun 27, 2023
0ef0b58
Merge branch 'CD/conseq-transfers' of github.com:diba-io/bitmask-core…
crisdut Jun 27, 2023
665495d
feat: add carbonado header information
crisdut Jun 28, 2023
24034aa
feat: add support to re-issue
crisdut Jun 29, 2023
0cd90e2
Refactor metadtata option type mapping.
cryptoquick Jun 29, 2023
c954188
Add linting for tests in CI. Fix web_storage test.
cryptoquick Jun 29, 2023
84982ad
feat: add support to re-issue
crisdut Jun 29, 2023
7984e56
Fix additional clippy lints for integration tests.
cryptoquick Jun 29, 2023
d7f2d86
Merge CD/re-issue
cryptoquick Jun 29, 2023
d8898b6
feat: add support to re-issue
crisdut Jun 29, 2023
4ed66f9
Reverse argument order. Fix lints.
cryptoquick Jun 29, 2023
dc788a9
merge: solve conflicts
crisdut Jun 29, 2023
15ee273
Merge branch 'CD/re-issue' into HT/re-issue
crisdut Jun 29, 2023
3f39975
Fix mismatched types errors.
cryptoquick Jun 29, 2023
5f2f33c
Undo vscode setting.
cryptoquick Jun 29, 2023
17a7cf0
Merge pull request #254 from diba-io/HT/re-issue
cryptoquick Jun 29, 2023
0621f95
refactor: allow force write file
crisdut Jun 29, 2023
5f1397f
refactor: bump to strict-types 1.4.x
crisdut Jul 5, 2023
99d963f
chore: comment expensive tests
crisdut Jul 5, 2023
5d27de8
Turn some unwraps into ? to better propagate errors instead of panics.
cryptoquick Jul 8, 2023
baf434d
chor: bump strict-types to 1.4.1
crisdut Jul 10, 2023
d59bae6
Merge pull request #256 from diba-io/HT/minor-improvements
cryptoquick Jul 10, 2023
6220551
Merge pull request #255 from diba-io/CD/re-issue-2
cryptoquick Jul 10, 2023
e959d7d
Merge pull request #253 from diba-io/CD/re-issue
cryptoquick Jul 10, 2023
4fa6ce0
Refactor constants formatting.
cryptoquick Jul 10, 2023
8c026c3
Refactor RGB imports.
cryptoquick Jul 10, 2023
b6b76f7
Bump version to 0.6.0-rc.5.
cryptoquick Jul 10, 2023
8d2fe7a
Fix crate alphabetization.
cryptoquick Jul 10, 2023
4bc82d5
Update src/rgb/constants.rs
cryptoquick Jul 11, 2023
e0b6209
Merge pull request #259 from diba-io/HT/conseq-transfers
cryptoquick Jul 11, 2023
7599038
Add bitmask endpoint to both get_env and set_env.
cryptoquick Jul 11, 2023
60555eb
Merge branch 'development' into HT/add-bitmask-set-env
cryptoquick Jul 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ pub static CARBONADO_ENDPOINT: Lazy<RwLock<String>> =
pub async fn get_env(key: &str) -> String {
match key {
"LNDHUB_ENDPOINT" => LNDHUB_ENDPOINT.read().await.to_string(),
"BITMASK_ENDPOINT" => BITMASK_ENDPOINT.read().await.to_string(),
"CARBONADO_ENDPOINT" => CARBONADO_ENDPOINT.read().await.to_string(),
"BITCOIN_EXPLORER_API_MAINNET" => BITCOIN_EXPLORER_API_MAINNET.read().await.to_string(),
"BITCOIN_EXPLORER_API_TESTNET" => BITCOIN_EXPLORER_API_TESTNET.read().await.to_string(),
Expand All @@ -155,6 +156,7 @@ pub async fn get_env(key: &str) -> String {
pub async fn set_env(key: &str, value: &str) {
match key {
"LNDHUB_ENDPOINT" => *LNDHUB_ENDPOINT.write().await = value.to_owned(),
"BITMASK_ENDPOINT" => *BITMASK_ENDPOINT.write().await = value.to_owned(),
"CARBONADO_ENDPOINT" => *CARBONADO_ENDPOINT.write().await = value.to_owned(),
"BITCOIN_EXPLORER_API_MAINNET" => {
*BITCOIN_EXPLORER_API_MAINNET.write().await = value.to_owned()
Expand Down