Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
1534761
GH-601: Introduce SentPayable Table (#611)
utkarshg6 Apr 4, 2025
24eb855
GH-608: Redesign the PendingPayableScanner for `sent_payable table` (…
utkarshg6 May 15, 2025
19e188b
GH-631: store gas price wei in two columns
utkarshg6 May 15, 2025
3e020da
GH-631: more updates to the sent payable table
utkarshg6 May 20, 2025
3201c00
GH-631: eliminate all errors
utkarshg6 May 22, 2025
bbb314b
GH-631: accept null values in db
utkarshg6 May 22, 2025
6c24a75
GH-631: all tests passing
utkarshg6 May 26, 2025
5412c62
GH-631: use TransactionBlock everywhere
utkarshg6 May 26, 2025
7ad1199
GH-631: enforce that block details are complete
utkarshg6 May 26, 2025
af7efd2
GH-631: fix test constants_have_correct_values
utkarshg6 May 27, 2025
fe512cb
GH-631: introduce failed payable table
utkarshg6 May 27, 2025
e901da0
GH-631: add db migration for failed payable table
utkarshg6 May 28, 2025
70baaf0
GH-631: mid review changes
utkarshg6 May 29, 2025
56bbdc4
GH-631: wip: introduce failed_payable_dao.rs
utkarshg6 May 29, 2025
e655f8c
GH-631: introduce FailedTxBuilder and updated trait for FailedPayableDao
utkarshg6 Jun 3, 2025
469e5c2
GH-631: insert_new_txs() works
utkarshg6 Jun 3, 2025
7d3944b
GH-631: txs can be retrieved from FailedPayables
utkarshg6 Jun 3, 2025
c50fde1
GH-631: implement all trait fns for FailedPayables
utkarshg6 Jun 4, 2025
1146791
GH-631: add a test for string conversion for FailureReason
utkarshg6 Jun 4, 2025
8b9305e
GH-631: make improvements to failed_payable_dao
utkarshg6 Jun 4, 2025
c0dfe00
GH-631: remove usages of H256 from the tests of DAOs
utkarshg6 Jun 4, 2025
ac3e9e8
GH-631: improve imports
utkarshg6 Jun 4, 2025
cd310e0
GH-631: introduce a utility fn make_block_hash()
utkarshg6 Jun 4, 2025
0a6c666
GH-631: add review changes for node/src/database/db_initializer.rs
utkarshg6 Jun 5, 2025
565f24f
GH-631: some more review changes
utkarshg6 Jun 5, 2025
f62d17a
GH-631: some more review changes
utkarshg6 Jun 5, 2025
36e1e9f
GH-631: change checked to a boolean
utkarshg6 Jun 6, 2025
81f2b89
GH-631: add more changes
utkarshg6 Jun 6, 2025
8a20490
GH-631: keep pushing more review changes
utkarshg6 Jun 6, 2025
62debf0
GH-631: display more info in the error statements
utkarshg6 Jun 6, 2025
3fbeed8
GH-631: and even more changes
utkarshg6 Jun 6, 2025
3debbd9
GH-631: change checked to rechecked
utkarshg6 Jun 6, 2025
879685b
GH-631: remove blank line
utkarshg6 Jun 6, 2025
b4555ce
GH-631: minor self-review changes
utkarshg6 Jun 6, 2025
14ce671
GH-631: add another review changes
utkarshg6 Jun 10, 2025
009e9a2
GH-602: Scanner system revamp (#640)
bertllll Jun 14, 2025
ba4823e
Merge branch 'master' into GH-598
Jun 14, 2025
ced23b1
GH-631: add more review changes
utkarshg6 Jun 15, 2025
40305db
GH-631: introduce the replace_record() in SentPayableDao
utkarshg6 Jun 15, 2025
7a3e77a
GH-631: review 4 changes
utkarshg6 Jun 16, 2025
c58477f
GH-631: review 5 changes
utkarshg6 Jun 17, 2025
200001a
GH-631: review 6 changes
utkarshg6 Jun 19, 2025
430400c
GH-631: import the Itertools and make join work without collect
utkarshg6 Jun 19, 2025
e85ab6f
Merge branch 'master' into GH-631
utkarshg6 Jun 19, 2025
7a9c3c5
Merge branch 'GH-598' into GH-631
utkarshg6 Jun 19, 2025
808662c
GH-631: eliminate clippy warnings; tests will still fail due to todo!()
utkarshg6 Jun 19, 2025
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 masq_lib/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::data_version::DataVersion;
use const_format::concatcp;

pub const DEFAULT_CHAIN: Chain = Chain::PolyMainnet;
pub const CURRENT_SCHEMA_VERSION: usize = 10;
pub const CURRENT_SCHEMA_VERSION: usize = 11;

pub const HIGHEST_RANDOM_CLANDESTINE_PORT: u16 = 9999;
pub const HTTP_PORT: u16 = 80;
Expand Down
1 change: 0 additions & 1 deletion masq_lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ pub mod data_version;
pub mod exit_locations;
pub mod shared_schema;
pub mod test_utils;
pub mod type_obfuscation;
pub mod ui_gateway;
pub mod ui_traffic_converter;
16 changes: 8 additions & 8 deletions masq_lib/src/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,10 @@ pub struct UiRatePack {

#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
pub struct UiScanIntervals {
#[serde(rename = "pendingPayableSec")]
pub pending_payable_sec: u64,
#[serde(rename = "payableSec")]
pub payable_sec: u64,
#[serde(rename = "pendingPayableSec")]
pub pending_payable_sec: u64,
#[serde(rename = "receivableSec")]
pub receivable_sec: u64,
}
Expand Down Expand Up @@ -783,8 +783,8 @@ conversation_message!(UiRecoverWalletsResponse, "recoverWallets");
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone, Copy, Hash)]
pub enum ScanType {
Payables,
Receivables,
PendingPayables,
Receivables,
}

impl FromStr for ScanType {
Expand All @@ -793,8 +793,8 @@ impl FromStr for ScanType {
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
s if &s.to_lowercase() == "payables" => Ok(ScanType::Payables),
s if &s.to_lowercase() == "receivables" => Ok(ScanType::Receivables),
s if &s.to_lowercase() == "pendingpayables" => Ok(ScanType::PendingPayables),
s if &s.to_lowercase() == "receivables" => Ok(ScanType::Receivables),
s => Err(format!("Unrecognized ScanType: '{}'", s)),
}
}
Expand Down Expand Up @@ -1225,10 +1225,10 @@ mod tests {
let result: Vec<ScanType> = vec![
"Payables",
"pAYABLES",
"Receivables",
"rECEIVABLES",
"PendingPayables",
"pENDINGpAYABLES",
"Receivables",
"rECEIVABLES",
]
.into_iter()
.map(|s| ScanType::from_str(s).unwrap())
Expand All @@ -1239,10 +1239,10 @@ mod tests {
vec![
ScanType::Payables,
ScanType::Payables,
ScanType::Receivables,
ScanType::Receivables,
ScanType::PendingPayables,
ScanType::PendingPayables,
ScanType::Receivables,
ScanType::Receivables,
]
)
}
Expand Down
83 changes: 0 additions & 83 deletions masq_lib/src/type_obfuscation.rs

This file was deleted.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ automap = { path = "../automap"}
backtrace = "0.3.57"
base64 = "0.13.0"
bytes = "0.4.12"
time = {version = "0.3.11", features = [ "macros" ]}
time = {version = "0.3.11", features = [ "macros", "parsing" ]}
clap = "2.33.3"
crossbeam-channel = "0.5.1"
dirs = "4.0.0"
Expand Down
Loading
Loading