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

Rebase on cursed #6

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
93fb15e
Switch CI back to stable clippy (#2108)
casey May 23, 2023
950740a
Unbind inscriptions from zero-sat transactions (#2107)
casey May 24, 2023
b3ab291
Promote raphjaph to lead maintainer 🫡 (#2119)
casey May 28, 2023
44f34f9
Update donate.md for inscriptions donations. (#2125)
veryordinally May 29, 2023
5a3b905
Fix typo in Sparrow Wallet docs (#2077)
eltociear May 30, 2023
03f6867
`OP_PUSH` instead of `OP_1` in inscription docs (#2135)
raphjaph May 31, 2023
0158189
Tweak doc: Inscriptions made on first sat of input (#2148)
raphjaph Jun 4, 2023
7e6eb73
Cursed Inscriptions [1/n] (#2145)
raphjaph Jun 4, 2023
8c15a66
Release 0.6.0 (#2150)
raphjaph Jun 4, 2023
2f72319
Add kafka feature and stream
nothing0012 Feb 25, 2023
179ebf2
Add more fields in stream event
nothing0012 Feb 27, 2023
9ba9c8a
Add new_output_value
nothing0012 Feb 27, 2023
1efd967
Gracefully handle owner issue
nothing0012 Feb 28, 2023
c8dd2fe
Add txid
nothing0012 Feb 28, 2023
8535646
Add more fields and consolidate the schema of the events
nothing0012 Mar 8, 2023
660bdde
Update sat details name
nothing0012 Mar 8, 2023
36c371f
Add sync producer flush
nothing0012 Mar 9, 2023
f35fe53
We probably only care about Text for now for the content body
nothing0012 Mar 9, 2023
13361da
Add STREM_HTTP_URL and also with kafka poll for extra care
nothing0012 Mar 11, 2023
77b822f
Add auth header
nothing0012 Mar 12, 2023
8841e94
Fix auth header typo
nothing0012 Mar 12, 2023
e67d6df
Use rustls
nothing0012 Mar 12, 2023
f8cd797
disable default reqwest features
nothing0012 Mar 12, 2023
ee3eca1
disable default reqwest features
nothing0012 Mar 12, 2023
cfcf937
revert http client
nothing0012 Mar 12, 2023
d0c82a7
Add block_hash for reorg
nothing0012 Mar 18, 2023
5cba0c0
Rebase latest ord
nothing0012 May 4, 2023
3a35b64
graceful handle 0-value inscription
nothing0012 May 5, 2023
3df642f
Add BLOCKS_BEHIND
nothing0012 May 11, 2023
cd6effb
Add BLOCKS_BEHIND
nothing0012 May 11, 2023
ec84998
Change to use threadedproducer
nothing0012 May 11, 2023
2e5d65c
Add brc20 indexing and versioning
nothing0012 May 10, 2023
ab2d371
Update dockerfile
nothing0012 May 18, 2023
b2f3bd7
Add sats domain
nothing0012 May 21, 2023
f130e1d
Fix clippy
nothing0012 May 21, 2023
88528b1
Make domain generic
nothing0012 May 23, 2023
2751b3c
Fix name validation
nothing0012 May 29, 2023
390118c
Add tx_block_index
nothing0012 May 27, 2023
7d6761d
Add cursed handling of number and unbound satpoint
nothing0012 Jun 5, 2023
55b0714
Add Dockerfile
nothing0012 Jun 5, 2023
6984cae
Fix cargo lock
nothing0012 Jun 5, 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 .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
Dockerfile
16 changes: 5 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- master
- kafka
pull_request:
branches:
- master
- kafka

defaults:
run:
Expand Down Expand Up @@ -49,25 +51,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install rustfmt
- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
components: rustfmt
components: clippy, rustfmt
override: true
toolchain: stable

- name: Install clippy nightly
uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: nightly

- uses: Swatinem/rust-cache@v2
with:
key: "clippy-nightly"

- name: Clippy
run: cargo +nightly clippy --all --all-targets
run: cargo clippy --all --all-targets

- name: Format
run: cargo fmt --all -- --check
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.idea/
/.vagrant
/.vscode
/docs/build
/fuzz/artifacts
/fuzz/corpus
Expand Down
56 changes: 42 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,35 @@
Changelog
=========

[0.5.2](https://github.com/casey/ord/releases/tag/0.5.2) - 2023-04-17
[0.6.0](https://github.com/ordinals/ord/releases/tag/0.6.0) - 2023-06-04
---------------------------------------------------------------------

### Added
- Cursed Inscriptions [1/n] (#2145)
- Authenticate to bitcoin using a username and password (#1527)
- Add example config file (#2044)

### Changed
- Unbind inscriptions from zero-sat transactions (#2107)

### Documentation
- Tweak doc: Inscriptions made on first sat of input (#2148)
- `OP_PUSH` instead of `OP_1` in inscription docs (#2135)
- Document bitcoind RPC authentication options (#2056)
- Fix typo in Sparrow Wallet docs (#2077)
- Update donate.md for inscriptions donations. (#2125)
- Promote raphjaph to lead maintainer 🫡 (#2119)
- Improve donation page (#2034)

### Misc
- Switch CI back to stable clippy (#2108)
- Update dependencies (#2068)
- Use struct variants in Origin enum (#2067)
- Fix test name typos(#2043)
- Switch to nightly clippy (#2037)


[0.5.2](https://github.com/ordinals/ord/releases/tag/0.5.2) - 2023-04-17
---------------------------------------------------------------------

### Added
Expand Down Expand Up @@ -33,7 +61,7 @@ Changelog
- Minor copy fixes (#1730)
- Typo (#1815)

[0.5.1](https://github.com/casey/ord/releases/tag/0.5.1) - 2023-02-21
[0.5.1](https://github.com/ordinals/ord/releases/tag/0.5.1) - 2023-02-21
---------------------------------------------------------------------

### Performance
Expand All @@ -58,7 +86,7 @@ Changelog
- Fix changelog dates: 2022 → 2023 (#1700)
- Bump version number (#1695)

[0.5.0](https://github.com/casey/ord/releases/tag/0.5.0) - 2023-02-11
[0.5.0](https://github.com/ordinals/ord/releases/tag/0.5.0) - 2023-02-11
---------------------------------------------------------------------

### Breaking Changes
Expand Down Expand Up @@ -124,7 +152,7 @@ Changelog
- Avoid listening on 0.0.0.0 in tests (#1365)
- Rename `GitHub` nav link to `Wallet` (#1360)

[0.4.2](https://github.com/casey/ord/releases/tag/0.4.2) - 2023-01-24
[0.4.2](https://github.com/ordinals/ord/releases/tag/0.4.2) - 2023-01-24
---------------------------------------------------------------------

### Changed
Expand All @@ -136,7 +164,7 @@ Changelog
### Misc
- Fix guide typo: getblockchount -> getblockcount (#1354)

[0.4.1](https://github.com/casey/ord/releases/tag/0.4.1) - 2023-01-24
[0.4.1](https://github.com/ordinals/ord/releases/tag/0.4.1) - 2023-01-24
---------------------------------------------------------------------

### Added
Expand Down Expand Up @@ -167,7 +195,7 @@ Changelog
- Serve favicon as PNG to Safari and SVG others (#1302)
- Use sans-serif font for height on clock (#1300)

[0.4.0](https://github.com/casey/ord/releases/tag/0.4.0) - 2023-01-19
[0.4.0](https://github.com/ordinals/ord/releases/tag/0.4.0) - 2023-01-19
---------------------------------------------------------------------

### Added
Expand Down Expand Up @@ -296,20 +324,20 @@ Changelog
- Fix softprops/actions-gh-release version (#992)
- Fuzz test transaction builder with multiple UTXOs (#1291)

[0.3.0](https://github.com/casey/ord/releases/tag/0.3.0) - 2022-12-16
[0.3.0](https://github.com/ordinals/ord/releases/tag/0.3.0) - 2022-12-16
---------------------------------------------------------------------

- Update CI dependencies (#986)
- Add /content endpoint (#976)
- Display content type and size /inscription (#975)
- Use "sat" in place of "ordinal" (#979)

[0.2.1](https://github.com/casey/ord/releases/tag/0.2.1) - 2022-12-14
[0.2.1](https://github.com/ordinals/ord/releases/tag/0.2.1) - 2022-12-14
---------------------------------------------------------------------

- Revise inscription guide after mainnet walkthrough (#968)

[0.2.0](https://github.com/casey/ord/releases/tag/0.2.0) - 2022-12-14
[0.2.0](https://github.com/ordinals/ord/releases/tag/0.2.0) - 2022-12-14
---------------------------------------------------------------------

- Add `ord wallet create` (#958)
Expand Down Expand Up @@ -400,13 +428,13 @@ Changelog
- Remove old recipes from justfile (#718)
- Update roadmap (#722)

[0.1.0](https://github.com/casey/ord/releases/tag/0.1.0) - 2022-10-25
[0.1.0](https://github.com/ordinals/ord/releases/tag/0.1.0) - 2022-10-25
---------------------------------------------------------------------

- Add index updater (#703)
- Speed up rarity check while indexing (#702)

[0.0.6](https://github.com/casey/ord/releases/tag/0.0.6) - 2022-10-25
[0.0.6](https://github.com/ordinals/ord/releases/tag/0.0.6) - 2022-10-25
---------------------------------------------------------------------

- Switch to ord-bitcoincore-rpc (#707)
Expand Down Expand Up @@ -481,7 +509,7 @@ Changelog
- Add ordinal hunting how-to docs page (#596)
- Fix bounty example links (#595)

[0.0.5](https://github.com/casey/ord/releases/tag/0.0.5) - 2022-10-02
[0.0.5](https://github.com/ordinals/ord/releases/tag/0.0.5) - 2022-10-02
---------------------------------------------------------------------

- Add bitcoin.conf (#592)
Expand Down Expand Up @@ -511,7 +539,7 @@ Changelog
- Convert block and transaction integration tests to unit tests (#560)
- Fix release script (#562)

[0.0.4](https://github.com/casey/ord/releases/tag/0.0.4) - 2022-09-26
[0.0.4](https://github.com/ordinals/ord/releases/tag/0.0.4) - 2022-09-26
---------------------------------------------------------------------

- Add more links and labels to clocks (#552)
Expand Down Expand Up @@ -675,7 +703,7 @@ Changelog
- Add nix flake (#214)
- Build binaries for releases (#213)

[0.0.1](https://github.com/casey/ord/releases/tag/0.0.1) - 2022-06-05
[0.0.1](https://github.com/ordinals/ord/releases/tag/0.0.1) - 2022-06-05
---------------------------------------------------------------------

- Add commands to mint and verify NFTs (#211)
Expand Down
104 changes: 102 additions & 2 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,12 +1,12 @@
[package]
name = "ord"
description = "◉ Ordinal wallet and block explorer"
version = "0.5.2"
version = "0.6.0"
license = "CC0-1.0"
edition = "2021"
autotests = false
homepage = "https://github.com/casey/ord"
repository = "https://github.com/casey/ord"
homepage = "https://github.com/ordinals/ord"
repository = "https://github.com/ordinals/ord"
autobins = false
rust-version = "1.67"

Expand Down Expand Up @@ -56,6 +56,8 @@ tokio = { version = "1.17.0", features = ["rt-multi-thread"] }
tokio-stream = "0.1.9"
tokio-util = {version = "0.7.3", features = ["compat"] }
tower-http = { version = "0.4.0", features = ["compression-br", "compression-gzip", "cors", "set-header"] }
rdkafka = { version = "0.31.0" }


[dev-dependencies]
executable-path = "1.0.0"
Expand Down
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM rust:1-alpine3.17 as builder
RUN apk add --no-cache build-base bash curl
ADD . .
RUN cargo build --release

FROM rust:1-alpine3.17
COPY --from=builder target/release/ord /usr/local/bin/ord
Loading