not that i'm complaining but...

Post Reply
drakahn
Posts: 6
Joined: Sat Jan 21, 2012 1:03 am
os: windows

not that i'm complaining but...

Post by drakahn »

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?

doublec
Posts: 149
Joined: Mon May 23, 2011 12:47 am
os: linux
Location: Auckland, New Zealand
Contact:

Re: not that i'm complaining but...

Post by doublec »

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?
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
Posts: 6
Joined: Sat Jan 21, 2012 1:03 am
os: windows

Re: not that i'm complaining but...

Post by drakahn »

my wallet.dat is up to 200MB and i get connection errors now :/

any idea on a fix i can do after the fact?

drakahn
Posts: 6
Joined: Sat Jan 21, 2012 1:03 am
os: windows

Re: not that i'm complaining but...

Post by drakahn »

************************
EXCEPTION: NSt8ios_base7failureE
CAutoFile::read : end of file
C:\Users\Lounge\Downloads\NamecoinGUI-0.5.0.18\namecoind.exe in ProcessMessage()

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: not that i'm complaining but...

Post by khal »

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 :

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
Here is the patch to allow deletion of transactions already in the blockchain :

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);
ps : my wallet is still big due to a lot of address generated maybe ? (in my debug.log i have : mapKeys.size() = 129354)
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

drakahn
Posts: 6
Joined: Sat Jan 21, 2012 1:03 am
os: windows

Re: not that i'm complaining but...

Post by drakahn »

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?

drakahn
Posts: 6
Joined: Sat Jan 21, 2012 1:03 am
os: windows

Re: not that i'm complaining but...

Post by drakahn »

i deleted the spammed address from my pre spam backup wallet and tried that, seems to be working.

Post Reply