Skip to content

Commit

Permalink
WIP: continue work on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Sword-Smith committed Oct 9, 2024
1 parent 65c439d commit 610f5e1
Show file tree
Hide file tree
Showing 20 changed files with 507 additions and 527 deletions.
2 changes: 1 addition & 1 deletion src/bin/dashboard_src/send_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crossterm::event::Event;
use crossterm::event::KeyCode;
use crossterm::event::KeyEventKind;
use neptune_core::config_models::network::Network;
use neptune_core::models::blockchain::transaction::UtxoNotifyMethod;
use neptune_core::models::blockchain::transaction::transaction_output::UtxoNotifyMethod;
use neptune_core::models::blockchain::type_scripts::neptune_coins::NeptuneCoins;
use neptune_core::models::state::wallet::address::ReceivingAddress;
use neptune_core::rpc_server::RPCClient;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/neptune-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use clap_complete::Shell;
use neptune_core::config_models::data_directory::DataDirectory;
use neptune_core::config_models::network::Network;
use neptune_core::models::blockchain::block::block_selector::BlockSelector;
use neptune_core::models::blockchain::transaction::UtxoNotifyMethod;
use neptune_core::models::blockchain::transaction::transaction_output::UtxoNotifyMethod;
use neptune_core::models::blockchain::type_scripts::neptune_coins::NeptuneCoins;
use neptune_core::models::state::wallet::address::KeyType;
use neptune_core::models::state::wallet::address::ReceivingAddress;
Expand Down
3 changes: 2 additions & 1 deletion src/main_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ use crate::models::peer::HandshakeData;
use crate::models::peer::PeerInfo;
use crate::models::peer::PeerSynchronizationState;
use crate::models::peer::TransactionNotification;
use crate::models::state::wallet::expected_utxo;

Check failure on line 40 in src/main_loop.rs

View workflow job for this annotation

GitHub Actions / format, lint, test (ubuntu-latest)

unused import: `crate::models::state::wallet::expected_utxo`

Check failure on line 40 in src/main_loop.rs

View workflow job for this annotation

GitHub Actions / format, lint, test (windows-latest)

unused import: `crate::models::state::wallet::expected_utxo`

Check failure on line 40 in src/main_loop.rs

View workflow job for this annotation

GitHub Actions / format, lint, test (macos-latest)

unused import: `crate::models::state::wallet::expected_utxo`
use crate::models::state::GlobalStateLock;
use crate::prelude::twenty_first;

Expand Down Expand Up @@ -1011,7 +1012,7 @@ impl MainLoopHandler {
/// after handling this message.
async fn handle_rpc_server_message(&mut self, msg: RPCServerToMain) -> Result<bool> {
match msg {
RPCServerToMain::Send(transaction) => {
RPCServerToMain::BroadcastTx(transaction) => {
debug!(
"`main` received following transaction from RPC Server. {} inputs, {} outputs. Synced to mutator set hash: {}",
transaction.kernel.inputs.len(),
Expand Down
4 changes: 2 additions & 2 deletions src/mine_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ pub(crate) fn make_coinbase_transaction(
vec![coinbase_utxo.clone()],
vec![sender_randomness],
vec![receiver_digest],
&kernel,
kernel,
mutator_set_accumulator,
);

Expand All @@ -310,7 +310,7 @@ pub(crate) fn make_coinbase_transaction(

(
Transaction {
kernel,
kernel: primitive_witness.kernel,
proof: TransactionProof::SingleProof(proof),
},
utxo_info_for_coinbase,
Expand Down
2 changes: 1 addition & 1 deletion src/models/blockchain/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::prelude::twenty_first;
pub mod lock_script;
pub mod primitive_witness;
pub mod transaction_kernel;
pub(crate) mod transaction_output;
pub mod transaction_output;
pub mod utxo;
pub mod validity;

Expand Down
Loading

0 comments on commit 610f5e1

Please sign in to comment.