http://explorer.dot-bit.org/a/N2v2aoaVS ... eNqvN91Nq5
out of nowhere i started receiving floods of 0.00000001 nmc
0.0014 and rising in 0.00000001 lots... is this bad for anything?
not that i'm complaining but...
-
- Posts: 149
- Joined: Mon May 23, 2011 12:47 am
- os: linux
- Location: Auckland, New Zealand
- Contact:
Re: not that i'm complaining but...
This was noticed by the operator of blockexplorer.sytes.net and mentioned on IRC recently. I posted about it here. It can cause issues with the wallet. Litecoin recently had a 'dust spam attack' which caused issues with users, pools and exchanges. Their workaround (apart from adjusting fees) was to make the wallet ignore low value transactions.drakahn wrote:http://explorer.dot-bit.org/a/N2v2aoaVS ... eNqvN91Nq5
out of nowhere i started receiving floods of 0.00000001 nmc
0.0014 and rising in 0.00000001 lots... is this bad for anything?
Re: not that i'm complaining but...
my wallet.dat is up to 200MB and i get connection errors now :/
any idea on a fix i can do after the fact?
any idea on a fix i can do after the fact?
Re: not that i'm complaining but...
************************
EXCEPTION: NSt8ios_base7failureE
CAutoFile::read : end of file
C:\Users\Lounge\Downloads\NamecoinGUI-0.5.0.18\namecoind.exe in ProcessMessage()
EXCEPTION: NSt8ios_base7failureE
CAutoFile::read : end of file
C:\Users\Lounge\Downloads\NamecoinGUI-0.5.0.18\namecoind.exe in ProcessMessage()
Re: not that i'm complaining but...
To purge my wallet from dust transactions (0.00000001 only), i used that script while number of reported tx is not 0 + a modified deletetransaction rpc command :
Here is the patch to allow deletion of transactions already in the blockchain :
ps : my wallet is still big due to a lot of address generated maybe ? (in my debug.log i have : mapKeys.size() = 129354)
Code: Select all
while true; do echo -n "Deleted : "`nmc listtransactions "*" 1000|grep '"amount" : 0.00000001' -A2|grep '"txid" : "'|cut -d'"' -f4|sort|uniq|wc -l`" / "; for txid in `nmc listtransactions "*" 1000|grep '"amount" : 0.00000001' -A2|grep '"txid" : "'|cut -d'"' -f4|sort|uniq`; do nmc deletetransaction $txid; done |wc -l; sleep 0.1s; done
Code: Select all
diff --git a/src/namecoin.cpp b/src/namecoin.cpp
index 9cf5abd..1a92ec3 100644
--- a/src/namecoin.cpp
+++ b/src/namecoin.cpp
@@ -1009,8 +1009,8 @@ Value deletetransaction(const Array& params, bool fHelp)
if (!pwalletMain->mapWallet.count(hash))
throw runtime_error("transaction not in wallet");
- if (!mapTransactions.count(hash))
- throw runtime_error("transaction not in memory - is already in blockchain?");
+ //if (!mapTransactions.count(hash))
+ // throw runtime_error("transaction not in memory - is already in blockchain?");
CWalletTx wtx = pwalletMain->mapWallet[hash];
UnspendInputs(wtx);
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
Re: not that i'm complaining but...
I'm a windows user that uses the GUI
with the new binaries now it just crashes after a while (both the GUI and just namecoind)
what would happen if i tried to use an old backup of my wallet with the new binaries? it has the spammed address in it but not the spam (or whatever made it big)
is there a way to get my other addresses out of my wallet and make a new wallet that would work?
with the new binaries now it just crashes after a while (both the GUI and just namecoind)
what would happen if i tried to use an old backup of my wallet with the new binaries? it has the spammed address in it but not the spam (or whatever made it big)
is there a way to get my other addresses out of my wallet and make a new wallet that would work?
Re: not that i'm complaining but...
i deleted the spammed address from my pre spam backup wallet and tried that, seems to be working.