Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion binaries/cuprated/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cuprated"
version = "0.0.3"
version = "0.0.4"
edition = "2021"
description = "The Cuprate Rust Monero node."
license = "AGPL-3.0-only"
Expand Down
6 changes: 3 additions & 3 deletions binaries/cuprated/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ mod test {
fn version() {
let semantic_version = format!("{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}");
assert_eq!(VERSION, VERSION);
assert_eq!(VERSION, "0.0.3");
assert_eq!(VERSION, "0.0.4");
}

#[test]
fn version_build() {
if cfg!(debug_assertions) {
assert_eq!(VERSION_BUILD, "0.0.3-debug");
assert_eq!(VERSION_BUILD, "0.0.4-debug");
} else {
assert_eq!(VERSION_BUILD, "0.0.3-release");
assert_eq!(VERSION_BUILD, "0.0.4-release");
}
}
}
8 changes: 4 additions & 4 deletions binaries/cuprated/src/killswitch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const _: () = {

/// The killswitch activates if the current timestamp is ahead of this timestamp.
///
/// Wed Jun 11 12:00:00 AM UTC 2025
pub const KILLSWITCH_ACTIVATION_TIMESTAMP: u64 = 1749600000;
/// Wed Jul 23 12:00:00 AM UTC 2025
pub const KILLSWITCH_ACTIVATION_TIMESTAMP: u64 = 1753228800;
Comment on lines -35 to +36
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


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

let current_ts = current_unix_timestamp();

Expand Down
2 changes: 1 addition & 1 deletion books/user/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["hinto-janai"]
language = "en"
multilingual = false
src = "src"
title = "Cuprate User Book - v0.0.3"
title = "Cuprate User Book - v0.0.4"
git-repository-url = "https://github.com/Cuprate/cuprate/books/user"

[output.html]
Expand Down
10 changes: 5 additions & 5 deletions books/user/src/getting-started/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Cuprate offers pre-built binaries for `cuprated` for the platforms listed in [`P

| Platform | Download |
|------------------------------|----------|
| Windows x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-windows-x64.zip>
| macOS x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-macos-x64.tar.gz>
| macOS ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-macos-arm64.tar.gz>
| 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>
| Linux ARM64 (glibc >= 2.36) | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.3/cuprated-0.0.3-linux-arm64.tar.gz>
| Windows x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-pc-windows-msvc.zip>
| macOS x86_64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-apple-darwin.tar.gz>
| macOS ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-apple-darwin.tar.gz>
| 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>
| 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>
Comment on lines -6 to +10
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


All release files are archived and also available at <https://archive.hinto.rs>.
4 changes: 2 additions & 2 deletions consensus/src/block/batch_prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ pub async fn batch_prepare_main_chain_blocks<D: Database>(
.into_par_iter()
.zip(difficulties)
.zip(txs)
.map(|((block, difficultly), txs)| {
.map(|((block, difficulty), txs)| {
// Calculate the PoW for the block.
let height = block.height;
let block = PreparedBlock::new_prepped(
Expand All @@ -186,7 +186,7 @@ pub async fn batch_prepare_main_chain_blocks<D: Database>(
)?;

// Check the PoW
check_block_pow(&block.pow_hash, difficultly).map_err(ConsensusError::Block)?;
check_block_pow(&block.pow_hash, difficulty).map_err(ConsensusError::Block)?;

let mut txs = start_tx_verification()
.append_txs(txs)
Expand Down
43 changes: 43 additions & 0 deletions misc/changelogs/cuprated/0.0.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# cuprated 0.0.4 Molybdenite (2025-06-04)
Cuprate is an alternative Monero node implementation. To get started, see: <https://user.cuprate.org>.

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:

- `get_block`
- `get_block_count`
- `get_last_block_header`
- `get_block_header_by_hash`
- `get_block_header_by_height`
- `get_block_headers_range`
- `on_get_block_hash`
- `/get_height`

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>.

## Changes
- Abstract TCP methods under the `Transport` trait ([#446](https://github.com/Cuprate/cuprate/pull/446))
- Add fuzzing and fix found issues ([#464](https://github.com/Cuprate/cuprate/pull/464))
- Change release asset naming scheme ([#484](https://github.com/Cuprate/cuprate/pull/484))
- Fix `randomx-rs` builds on certain distros ([#487](https://github.com/Cuprate/cuprate/pull/487), [#493](https://github.com/Cuprate/cuprate/pull/493))
- Update `fast-sync` to height `3425792` ([#490](https://github.com/Cuprate/cuprate/pull/490))
- 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))

## Downloads
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>.

| OS | Architecture | Download |
|---------|--------------|----------|
| Windows | 64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-pc-windows-msvc.zip>
| macOS | x64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-apple-darwin.tar.gz>
| macOS | ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-apple-darwin.tar.gz>
| Linux | x64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-x86_64-unknown-linux.tar.gz>
| Linux | ARM64 | <https://github.com/Cuprate/cuprate/releases/download/cuprated-0.0.4/cuprated-0.0.4-aarch64-unknown-linux.tar.gz>

## Contributors
Thank you to everyone who directly contributed to this release:

- @Boog900
- @hinto-janai
- @SyntheticBird45

There are other contributors that are not listed here, thank you to them as well.
2 changes: 1 addition & 1 deletion misc/changelogs/cuprated/latest.md