Skip to content

Commit 640ac1b

Browse files
authored
Update repo to cuprated 0.0.4 (#462)
* apply * update * update * fs * typos -w * update
1 parent 4c2c749 commit 640ac1b

File tree

8 files changed

+59
-16
lines changed

8 files changed

+59
-16
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

binaries/cuprated/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cuprated"
3-
version = "0.0.3"
3+
version = "0.0.4"
44
edition = "2021"
55
description = "The Cuprate Rust Monero node."
66
license = "AGPL-3.0-only"

binaries/cuprated/src/constants.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ mod test {
4343
fn version() {
4444
let semantic_version = format!("{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}");
4545
assert_eq!(VERSION, VERSION);
46-
assert_eq!(VERSION, "0.0.3");
46+
assert_eq!(VERSION, "0.0.4");
4747
}
4848

4949
#[test]
5050
fn version_build() {
5151
if cfg!(debug_assertions) {
52-
assert_eq!(VERSION_BUILD, "0.0.3-debug");
52+
assert_eq!(VERSION_BUILD, "0.0.4-debug");
5353
} else {
54-
assert_eq!(VERSION_BUILD, "0.0.3-release");
54+
assert_eq!(VERSION_BUILD, "0.0.4-release");
5555
}
5656
}
5757
}

binaries/cuprated/src/killswitch.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const _: () = {
3232

3333
/// The killswitch activates if the current timestamp is ahead of this timestamp.
3434
///
35-
/// Wed Jun 11 12:00:00 AM UTC 2025
36-
pub const KILLSWITCH_ACTIVATION_TIMESTAMP: u64 = 1749600000;
35+
/// Wed Jul 23 12:00:00 AM UTC 2025
36+
pub const KILLSWITCH_ACTIVATION_TIMESTAMP: u64 = 1753228800;
3737

3838
/// Check if the system clock is past a certain timestamp,
3939
/// if so, exit the entire program.
@@ -44,8 +44,8 @@ fn killswitch() {
4444
/// sanity checking the system's clock to make
4545
/// sure it is not overly behind.
4646
///
47-
/// Tue May 6 04:46:40 PM UTC 2025
48-
const SYSTEM_CLOCK_SANITY_TIMESTAMP: u64 = 1746550000;
47+
/// Wed Jun 4 12:36:45 PM UTC 2025
48+
const SYSTEM_CLOCK_SANITY_TIMESTAMP: u64 = 1749040605;
4949

5050
let current_ts = current_unix_timestamp();
5151

books/user/book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ authors = ["hinto-janai"]
33
language = "en"
44
multilingual = false
55
src = "src"
6-
title = "Cuprate User Book - v0.0.3"
6+
title = "Cuprate User Book - v0.0.4"
77
git-repository-url = "https://github.com/Cuprate/cuprate/books/user"
88

99
[output.html]

books/user/src/getting-started/download.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Cuprate offers pre-built binaries for `cuprated` for the platforms listed in [`P
33

44
| Platform | Download |
55
|------------------------------|----------|
6-
| Windows x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-windows-x64.zip>
7-
| macOS x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-macos-x64.tar.gz>
8-
| macOS ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-macos-arm64.tar.gz>
9-
| Linux x86_64 (glibc >= 2.36) | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-linux-x64.tar.gz>
10-
| Linux ARM64 (glibc >= 2.36) | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-linux-arm64.tar.gz>
6+
| Windows x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-pc-windows-msvc.zip>
7+
| macOS x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-apple-darwin.tar.gz>
8+
| macOS ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-apple-darwin.tar.gz>
9+
| Linux x86_64 (glibc >= 2.36) | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-unknown-linux.tar.gz>
10+
| Linux ARM64 (glibc >= 2.36) | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-unknown-linux.tar.gz>
1111

1212
All release files are archived and also available at <https://archive.hinto.rs>.

misc/changelogs/cuprated/0.0.4.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# cuprated 0.0.4 Molybdenite (2025-06-04)
2+
Cuprate is an alternative Monero node implementation. To get started, see: <https://user.cuprate.org>.
3+
4+
This release contains the initial integration of the restricted (`0.0.0.0:18089`) and unrestricted (`127.0.0.1:18081`) RPC servers. The following methods/endpoints are enabled:
5+
6+
- `get_block`
7+
- `get_block_count`
8+
- `get_last_block_header`
9+
- `get_block_header_by_hash`
10+
- `get_block_header_by_height`
11+
- `get_block_headers_range`
12+
- `on_get_block_hash`
13+
- `/get_height`
14+
15+
See the [updated configuration](https://user.cuprate.org/config.html) and RPC sections in the user book for more information: <https://user.cuprate.org/rpc.html>.
16+
17+
## Changes
18+
- Abstract TCP methods under the `Transport` trait ([#446](https://github.com/Cuprate/cuprate/pull/446))
19+
- Add fuzzing and fix found issues ([#464](https://github.com/Cuprate/cuprate/pull/464))
20+
- Change release asset naming scheme ([#484](https://github.com/Cuprate/cuprate/pull/484))
21+
- Fix `randomx-rs` builds on certain distros ([#487](https://github.com/Cuprate/cuprate/pull/487), [#493](https://github.com/Cuprate/cuprate/pull/493))
22+
- Update `fast-sync` to height `3425792` ([#490](https://github.com/Cuprate/cuprate/pull/490))
23+
- Initial RPC server integration ([#183](https://github.com/Cuprate/cuprate/issues/183), [#244](https://github.com/Cuprate/cuprate/issues/244), [#423](https://github.com/Cuprate/cuprate/pull/423), [#450](https://github.com/Cuprate/cuprate/pull/450))
24+
25+
## Downloads
26+
For convenience, the following binaries are produced using GitHub CI in a non-reproducible way; it is highly recommended to build `cuprated` from source instead, see <https://user.cuprate.org/getting-started/source>.
27+
28+
| OS | Architecture | Download |
29+
|---------|--------------|----------|
30+
| Windows | 64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-pc-windows-msvc.zip>
31+
| macOS | x64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-apple-darwin.tar.gz>
32+
| macOS | ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-apple-darwin.tar.gz>
33+
| Linux | x64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-unknown-linux.tar.gz>
34+
| Linux | ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-unknown-linux.tar.gz>
35+
36+
## Contributors
37+
Thank you to everyone who directly contributed to this release:
38+
39+
- @Boog900
40+
- @hinto-janai
41+
- @SyntheticBird45
42+
43+
There are other contributors that are not listed here, thank you to them as well.

misc/changelogs/cuprated/latest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.3.md
1+
0.0.4.md

0 commit comments

Comments
 (0)