Improper – Earlybirds Invest https://earlybirdsinvest.com Latest Crypto News Sat, 26 Jul 2025 03:38:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.7 https://i0.wp.com/earlybirdsinvest.com/wp-content/uploads/2024/12/cropped-New-Project-2024-12-17T235703.455.png?fit=32%2C32&ssl=1 Improper – Earlybirds Invest https://earlybirdsinvest.com 32 32 240146708 Chain-State UTXOS Decoding: TXID, Block Height, and Balance Improper https://earlybirdsinvest.com/chain-state-utxos-decoding-txid-block-height-and-balance-improper/ https://earlybirdsinvest.com/chain-state-utxos-decoding-txid-block-height-and-balance-improper/#respond Sat, 26 Jul 2025 03:38:00 +0000 https://earlybirdsinvest.com/chain-state-utxos-decoding-txid-block-height-and-balance-improper/

I’m trying to make a rust tool set to read UTXOS directly from the chain state. I mostly follow Bitcoin sources in letters (at least I think so).

I have decode_varint

pub fn decode_varint(data: &(u8)) -> Option<(u32, usize)> {
    let mut n: u32 = 0;
    let mut shift = 0;

    for (i, &byte) in data.iter().enumerate().take(5) {
        let part = (byte & 0x7F) as u32;
        n |= part << shift;

        if byte & 0x80 == 0 {
            return Some((n, i + 1));
        }

        // Bitcoin adds this quirk:
        n = n.wrapping_add(1 << shift);
        shift += 7;
    }

    None
}

I have decompress_amount

pub fn decompress_amount(x: u64) -> u64 {
    if x == 0 {
        return 0;
    }
    let mut x = x - 1;
    let e = x % 10;
    x /= 10;
    let mut n;
    if e < 9 {
        let d = (x % 9) + 1;
        x /= 9;
        n = x * 10 + d;
    } else {
        n = x + 1;
    }
    for _ in 0..e {
        n *= 10;
    }
    n
}

I’m sure I get only UTXO entries

pub fn decode_utxo_key(mut key: &(u8)) -> Option<(Vec, u32)> {
    if key.is_empty() || key(0) != b'C' {
        return None;
    }
    key = &key(1..);
    let txid = key.get(..32)?.to_vec();
    key = &key(32..);
    let (vout, _) = decode_varint(key)?;
    Some((txid, vout as u32))
}

But for some reason, my key shows a TXID that is different from the block height.

Key: `byteskey((67, 0, 0, 0, 0, 236, 58, 152, 94, 229, 61, 50, 239, 22, 75, 88, 246, 154, 181, 7, 146, 209, 249, 113, 25, 180, 120, 10, 150, 150, 112, 118, 209, 0), 98, 112, 112, 118, 209, 095, 112 43, 211, 164, 127, 45, 124, 28, 164, 166, 210, 240, 182, 238, 220, 41, 24, 211, 153, 185, 205, 199))))

TXID: f349b3a497e29738638c27654d3125deb8d90702dc51ab3bc993370900000000

Block 684,608 TXID

I’m getting the XOR obfuscation key:

    let read_opts = ReadOptions::new();
    let xor_iter = db.iter(read_opts);
    let mut obfuscation_key: Vec = Vec::new();

    for (key, value) in xor_iter {
        if key.0.starts_with(&(0x0e)) {
            obfuscation_key = value;
            break;
        }
    }

This returns a decoded value byte as follows: (52, 148, 23, 67, 104 , 115, 134, 222, 130, 10, 78, 153, 93, 115, 228, 159, 196, 86, 17, 179, 224, 72, 222, 228, 185, 255, 26, 46, 229, 73, 140, 125, 129, 241, 246, 106, 170, 3, 94, 35)

But 52 is clearly not the correct byte for block 684,608.

What’s missing?

]]>
https://earlybirdsinvest.com/chain-state-utxos-decoding-txid-block-height-and-balance-improper/feed/ 0 49709
Billion-Dollar Bank To Hand Out $510,000 To Settle Class Action Lawsuit Alleging Improper Charging of Overdraft Fees https://earlybirdsinvest.com/billion-dollar-bank-to-hand-out-510000-to-settle-class-action-lawsuit-alleging-improper-charging-of-overdraft-fees/ https://earlybirdsinvest.com/billion-dollar-bank-to-hand-out-510000-to-settle-class-action-lawsuit-alleging-improper-charging-of-overdraft-fees/#respond Fri, 18 Jul 2025 06:55:09 +0000 https://earlybirdsinvest.com/billion-dollar-bank-to-hand-out-510000-to-settle-class-action-lawsuit-alleging-improper-charging-of-overdraft-fees/

A multi-billion-dollar bank is planning to shell out $510,000 to settle a class action lawsuit stemming from allegations that the financial institution hit customers with improper overdraft fees.

Customers accuse Park National Bank of assessing allegedly improper Authorized Positive Purportedly Settled Negative (APPSN) fees between November 1st, 2016 and February 20th, 2025.

An account that is initially authorized for a transaction but later has insufficient funds to process it and is overdrawn will receive APPSN fees, according to Law Insider.

The Ohio-based Park National Bank, which U.S. Federal Reserve statistics indicate has more than $9.8 billion in consolidated assets, denies any wrongdoing or liability but opted to settle the case to avoid dealing with the cost of litigation.

The bank agreed to create a settlement fund of $510,000, and it will also provide overdraft forgiveness as defined in the agreement.

Of that settlement fund, up to $170,000 could go toward attorneys’ fees. The court will determine the amount of the attorneys’ fees and costs based on numerous factors, including risk, time and the outcome of the case.

The court plans to hold a final approval hearing for the settlement on September 5th. If it is approved, payments should be made within two months of the effective date.

Follow us on X, Facebook and Telegram

Don’t Miss a Beat – Subscribe to get email alerts delivered directly to your inbox

Check Price Action

Surf The Daily Hodl Mix

&nbsp

Disclaimer: Opinions expressed at The Daily Hodl are not investment advice. Investors should do their due diligence before making any high-risk investments in Bitcoin, cryptocurrency or digital assets. Please be advised that your transfers and trades are at your own risk, and any losses you may incur are your responsibility. The Daily Hodl does not recommend the buying or selling of any cryptocurrencies or digital assets, nor is The Daily Hodl an investment advisor. Please note that The Daily Hodl participates in affiliate marketing.

Generated Image: Midjourney

]]>
https://earlybirdsinvest.com/billion-dollar-bank-to-hand-out-510000-to-settle-class-action-lawsuit-alleging-improper-charging-of-overdraft-fees/feed/ 0 48286
Billion-Dollar Bank Sending $3,125,000 To Customers Over Alleged Breach of Contract, Improper Overdraft Fees https://earlybirdsinvest.com/billion-dollar-bank-sending-3125000-to-customers-over-alleged-breach-of-contract-improper-overdraft-fees/ https://earlybirdsinvest.com/billion-dollar-bank-sending-3125000-to-customers-over-alleged-breach-of-contract-improper-overdraft-fees/#respond Sat, 07 Jun 2025 18:04:41 +0000 https://earlybirdsinvest.com/billion-dollar-bank-sending-3125000-to-customers-over-alleged-breach-of-contract-improper-overdraft-fees/

A US bank is preparing to pay millions of dollars to settle a lawsuit that accused the lender of breach of contract.

According to a preliminary approval order, Illinois-based Midland States Bank will pay $3.125 million to settle accusations that the billion-dollar lender and two other banks it acquired improperly charged overdraft and non-sufficient funds (NSF) fees.

Specifically, the class action lawsuit alleged that Midland States Bank by its practices engaged in “Breach of Contract and Breach of the Implied Covenant of Good Faith and Fair Dealing, Unjust Enrichment, and violations of the Illinois Consumer Fraud and Deceptive Business Practices Act.”

The two banks the lender acquired are Centrue Bank and Alpine Bank & Trust.

Beneficiaries of the settlement will be customers of Midland State Bank, or the lenders it acquired, who had a checking account between April 8th of 2012 and April 30th of 2022. Plaintiffs could receive up to $10,000, per the settlement agreement.

According to the preliminary approval order, the settlement Midland States Bank has reached with the plaintiffs is not an admission of guilt.

Class members who wish to object to the settlement must communicate in writing to the court by August 11th. To opt out of the settlement, class members must write to the settlement administrator by the same date. A final approval hearing will be held on September 10th.

Per the Federal Reserve, Midland States Bank held approximately $7.45 billion in total assets as of December of 2024.

Follow us on X, Facebook and Telegram

Don’t Miss a Beat – Subscribe to get email alerts delivered directly to your inbox

Check Price Action

Surf The Daily Hodl Mix

&nbsp

Disclaimer: Opinions expressed at The Daily Hodl are not investment advice. Investors should do their due diligence before making any high-risk investments in Bitcoin, cryptocurrency or digital assets. Please be advised that your transfers and trades are at your own risk, and any losses you may incur are your responsibility. The Daily Hodl does not recommend the buying or selling of any cryptocurrencies or digital assets, nor is The Daily Hodl an investment advisor. Please note that The Daily Hodl participates in affiliate marketing.

Generated Image: Midjourney

]]>
https://earlybirdsinvest.com/billion-dollar-bank-sending-3125000-to-customers-over-alleged-breach-of-contract-improper-overdraft-fees/feed/ 0 40705