Bitcoin Forum
September 27, 2026, 01:55:40 PM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 ... 502 »
  Print  
Author Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"  (Read 1153874 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 07, 2015, 04:03:37 PM
 #2961

A Raspberry Pi 2 or Odroid C1 costs only $USD 35; either should be able to run clamd. I'm not sure whether the weaker CPUs will make staking more erratic, or it doesn't really matter. (If it does matter - the C1 CPU clocks 60% faster than the Pi2)

I have an Odroid C1 right next to me, might try compiling and running clamd for a bit, just out of curiosity. Smiley

I've never tried it, but I doubt CPU would be a problem. You only get a new chance to stake every 16 seconds, so unless you have a lot of separate outputs (piles of coins) in your wallet there's not much to be done.

http://thebitcoin.foundation/ has been working to 'decruft' the satoshi Bitcoin client. In doing so they have made it capable of running on smaller hardware, so you might look at their work.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
almightyruler
Legendary
*
Offline

Activity: 2338
Merit: 1092


View Profile
May 07, 2015, 05:06:45 PM
 #2962

FWIW, I compiled clam for the Odroid C1 a few hours ago, and it's currently syncing. It did die with a segmentation fault ( Shocked ) after syncing a few thousand blocks, but has not skipped a beat since I restarted it. I'm doing a sync from scratch to give it a good workout.

The seemingly random segfault bothers me a little. Once fully synced I'll move the db elsewhere temporarily then try another sync from scratch, to see if it dies at the same place. Hopefully it does. [edit: running from a virgin data dir didn't segfault.]
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 07, 2015, 05:44:08 PM
 #2963

FWIW, I compiled clam for the Odroid C1 a few hours ago, and it's currently syncing. It did die with a segmentation fault ( Shocked ) after syncing a few thousand blocks, but has not skipped a beat since I restarted it. I'm doing a sync from scratch to give it a good workout.

The seemingly random segfault bothers me a little. Once fully synced I'll move the db elsewhere temporarily then try another sync from scratch, to see if it dies at the same place. Hopefully it does. [edit: running from a virgin data dir didn't segfault.]

For a more consistent and faster syncing experience, try using the bootstrap.dat file I updated yesterday.

https://bitcointalk.org/index.php?topic=623147.msg9772191#msg9772191

Starting with just that file, and running with -connect=127.0.0.1 should prevent your node from connecting to any peers while it loads the blockchain from the bootstrap file, so if it crashes once it should crash the same way every time.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
yudhistira
Full Member
***
Offline

Activity: 347
Merit: 100



View Profile
May 07, 2015, 07:13:14 PM
 #2964

I want to create a free clam faucet

Anyone help me to get scrypt and complete tutorial installation guide

►Website ♦ Whitepaper ♦ Telegram◄   ▇▇▆▅▃▂▁International Blockchain Lottery▁▂▃▅▆▇▉   ►Facebook ♦ Twitter ♦ GitHub◄
════════☛ FIRELOTTO ☚════════    As simple and understandable as traditional lotteries are    ══════☛ PLAY NOW ☚══════
chriswen
Hero Member
*****
Offline

Activity: 756
Merit: 500


View Profile
May 07, 2015, 08:31:45 PM
 #2965

Anyone notice the increased liquidity on poloniex?

@coinarb

I've implemented a new market-maker algo at @Poloniex which should provide greater liquidity around the mid-price.

Only supporting the top 10 alt-coins with sound business strategies whom are truly innovating in this space.
SuperClam (OP)
Hero Member
*****
Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
May 08, 2015, 01:47:36 AM
 #2966

Changed the OP post links over to the new block explorer @ CLAMsight.com.

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
almightyruler
Legendary
*
Offline

Activity: 2338
Merit: 1092


View Profile
May 09, 2015, 03:25:34 PM
 #2967

FWIW, I compiled clam for the Odroid C1 a few hours ago, and it's currently syncing. It did die with a segmentation fault ( Shocked ) after syncing a few thousand blocks, but has not skipped a beat since I restarted it. I'm doing a sync from scratch to give it a good workout.

For a more consistent and faster syncing experience, try using the bootstrap.dat file I updated yesterday.
[...]
Starting with just that file, and running with -connect=127.0.0.1 should prevent your node from connecting to any peers while it loads the blockchain from the bootstrap file, so if it crashes once it should crash the same way every time.

I did the consistent experience in a slightly different way. The Odroid C1 only has a local address, with no gateway IP translation, so the only peer it can connect to is my local server. It didn't crash at all during the second sync attempt... hopefully this was an edge case, where a newer block offered by a peer when barely synced caused something obscure to trigger a crash, rather than it being a more "random" event.

The client is fully synced now, and I can see it's trying to stake, too. With a relatively fresh deposit of only 108 CLAM it may take a while. Smiley



With a "typical" maximum power consumption of only 2.5W - a few dollars worth of electricity per year - this sort of setup could be very handy for someone who doesn't leave their main machine powered on 24/7.
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 09, 2015, 06:07:25 PM
 #2968

The client is fully synced now, and I can see it's trying to stake, too. With a relatively fresh deposit of only 108 CLAM it may take a while. Smiley

Thanks for letting us know that it is possible!

It's a shame you weren't able to reproduce the crash though. I would have liked to fix it.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
garthkiser
Full Member
***
Offline

Activity: 176
Merit: 100



View Profile
May 10, 2015, 04:13:46 PM
 #2969

Changed the OP post links over to the new block explorer @ CLAMsight.com.

CLAMs, getting better every day! The website directly links to CLAMsight now too.

gaba
Sr. Member
****
Offline

Activity: 249
Merit: 250


View Profile
May 12, 2015, 08:39:02 AM
 #2970

It's clear that dev received jackpot when Doog decide to go with CLAM. But what else can we expect from dev. That plans from beginning (http://clamclient.com/#/development-plan/) are still have very slow progress or not progress at all (CLAMprivacy, CLAManon). Beside that; these is only coin that give better reword to those who come later, again thanks to Doog.  Can we expect some change ( reducing rewords) or that 4.6 CLAM per address will stay forever?

LWWE6dtTUXuaq36KTCne5XqMQHfhfwpadC
chriswen
Hero Member
*****
Offline

Activity: 756
Merit: 500


View Profile
May 12, 2015, 09:40:55 AM
 #2971

It's clear that dev received jackpot when Doog decide to go with CLAM. But what else can we expect from dev. That plans from beginning (http://clamclient.com/#/development-plan/) are still have very slow progress or not progress at all (CLAMprivacy, CLAManon). Beside that; these is only coin that give better reword to those who come later, again thanks to Doog.  Can we expect some change ( reducing rewords) or that 4.6 CLAM per address will stay forever?

The rewards have already been distributed.  I don't think its possible to change that.
garthkiser
Full Member
***
Offline

Activity: 176
Merit: 100



View Profile
May 12, 2015, 02:23:23 PM
 #2972

It's clear that dev received jackpot when Doog decide to go with CLAM. But what else can we expect from dev. That plans from beginning (http://clamclient.com/#/development-plan/) are still have very slow progress or not progress at all (CLAMprivacy, CLAManon). Beside that; these is only coin that give better reword to those who come later, again thanks to Doog.  Can we expect some change ( reducing rewords) or that 4.6 CLAM per address will stay forever?
We talked about the development plan page this week in IRC. Thanks for keeping us on our toes Smiley

The CLAMs team is growing organically, which does pose some difficulty in managing the development plan page. But this is a good problem, a VERY good problem!

But yes, we will be updating the page soon.

dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 12, 2015, 03:37:00 PM
 #2973

It's clear that dev received jackpot when Doog decide to go with CLAM. But what else can we expect from dev. That plans from beginning (http://clamclient.com/#/development-plan/) are still have very slow progress or not progress at all (CLAMprivacy, CLAManon). Beside that; these is only coin that give better reword to those who come later, again thanks to Doog.  Can we expect some change ( reducing rewords) or that 4.6 CLAM per address will stay forever?

The coin gives the same reward whenever you find CLAM: a little over 4.6 CLAM per address. I can't take much credit for the price of CLAM. The price of CLAM depends on the demand for it which is largely out of my control. I provide the JD platform but don't have control of how much people want to use it.

The rewards have already been distributed.  I don't think its possible to change that.

It's possible to change pretty much anything. It would be possible to add code to the client saying "in all blocks after block 500k all inputs created in the first 10k* blocks are worth half their apparent value" (or double, or nothing at all). That would create or destroy coins the same way that staking currently does.

* the initial distribution was done in blocks 558 to 9262 inclusive, and no other unspent outputs from the first 10k blocks exist.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
SuperClam (OP)
Hero Member
*****
Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
May 12, 2015, 10:40:26 PM
 #2974

* the initial distribution was done in blocks 558 to 9262 inclusive, and no other unspent outputs from the first 10k blocks exist.

Not entirely accurate: there were also rewards from initial staking/mining (to get the chain to the launch height of 10,000 blocks as well as to smooth the launch itself as we were 100% PoS immediately at launch) in blocks 9262++.  That said, all of those unspent outputs ended up at the unspendable burn address.

Edit:
I suppose those outputs used to stake initially would now be "unspent outputs" at a greater height than 10,000.

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 13, 2015, 01:40:41 AM
 #2975

* the initial distribution was done in blocks 558 to 9262 inclusive, and no other unspent outputs from the first 10k blocks exist.

Not entirely accurate: there were also rewards from initial staking/mining (to get the chain to the launch height of 10,000 blocks as well as to smooth the launch itself as we were 100% PoS immediately at launch) in blocks 9262++.  That said, all of those unspent outputs ended up at the unspendable burn address.

Edit:
I suppose those outputs used to stake initially would now be "unspent outputs" at a greater height than 10,000.

Not entirely accurate? How very DARE you?!? Wink

The burn transactions happened after block 10k, so I think I'm right in saying that all unspent outputs from the first 10k blocks are all initial distribution outputs. I think I remember checking once and am pretty sure it's true, but I don't have a proof on hand right now.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
SuperClam (OP)
Hero Member
*****
Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
May 13, 2015, 02:29:59 AM
 #2976

* the initial distribution was done in blocks 558 to 9262 inclusive, and no other unspent outputs from the first 10k blocks exist.
Not entirely accurate: there were also rewards from initial staking/mining (to get the chain to the launch height of 10,000 blocks as well as to smooth the launch itself as we were 100% PoS immediately at launch) in blocks 9262++.  That said, all of those unspent outputs ended up at the unspendable burn address.
Edit:
I suppose those outputs used to stake initially would now be "unspent outputs" at a greater height than 10,000.
Not entirely accurate? How very DARE you?!? Wink
The burn transactions happened after block 10k, so I think I'm right in saying that all unspent outputs from the first 10k blocks are all initial distribution outputs. I think I remember checking once and am pretty sure it's true, but I don't have a proof on hand right now.

Don't bother scraping together proof; the "edit" above already conceded the point - just left the post itself as historical record of my inaccuracy Grin

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
ethought
Legendary
*
Offline

Activity: 1316
Merit: 1000



View Profile
May 13, 2015, 06:34:29 AM
 #2977

I have a script which cleans up dust transactions. Basically it combines 49 dust transactions with 1 large transaction using createrawtransaction, signrawtransaction, sendrawtransaction

However it does not seem to work with Clams for some reason...

I keep getting the following error:

error: {"code":-22,"message":"TX rejected"}

After looking into the issue and test sending transactions manually with clamd in a console I get the same error.

Any idea why this might be happening?

It seems to work sometimes if I limit createrawtransaction to using only 2 or 3 input transactions.

On coinwallet.co I have around 7600 dust transactions in the wallet, and am not able to send out even 4 CLAMs with out a "transaction too large" error because of all the dust.
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 13, 2015, 07:01:58 AM
 #2978

Any idea why this might be happening?

Watch the debug.log - it probably tells you something like:

2015-05-13 07:00:58 ERROR: AcceptToMemoryPool : not enough fees 22f5cf1835d3f2135d10e460af30eb7ccd6329f0cf9f40a730b0726fe76964e2, 10000 < 20000

or:

2015-04-30 16:19:31 CWallet::CreateTransaction failed: transaction too big (104430 >= 100000)

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
ethought
Legendary
*
Offline

Activity: 1316
Merit: 1000



View Profile
May 13, 2015, 07:13:09 AM
 #2979

Any idea why this might be happening?

Watch the debug.log - it probably tells you something like:

2015-05-13 07:00:58 ERROR: AcceptToMemoryPool : not enough fees 22f5cf1835d3f2135d10e460af30eb7ccd6329f0cf9f40a730b0726fe76964e2, 10000 < 20000

or:

2015-04-30 16:19:31 CWallet::CreateTransaction failed: transaction too big (104430 >= 100000)


Thanks!

Code:
ERROR: AcceptToMemoryPool : not enough fees 02ce86ccb2dcce0841410b4e243363aa80c7aa5978572f9529074eade0040f75, 0 < 10000

I usually use the following to determine fees:

Code:
Calculating Fee: 
Vout_Count = 50
  Debug: estimated transaction size: 9042 bytes (fee required at 10000 bytes or more)
tx_size_ok = 1
  Debug: transaction priority: 238.31M (fee required at 57.6M or less)
sugg_fee = 0

I even tried forcing a small fee but the transaction still failed.

So how can I calculate the required fee?
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1335



View Profile
May 13, 2015, 04:17:05 PM
Last edit: May 13, 2015, 06:18:38 PM by dooglus
 #2980

Any idea why this might be happening?

Watch the debug.log - it probably tells you something like:

2015-05-13 07:00:58 ERROR: AcceptToMemoryPool : not enough fees 22f5cf1835d3f2135d10e460af30eb7ccd6329f0cf9f40a730b0726fe76964e2, 10000 < 20000

or:

2015-04-30 16:19:31 CWallet::CreateTransaction failed: transaction too big (104430 >= 100000)


Thanks!

Code:
ERROR: AcceptToMemoryPool : not enough fees 02ce86ccb2dcce0841410b4e243363aa80c7aa5978572f9529074eade0040f75, 0 < 10000

I usually use the following to determine fees:

Code:
Calculating Fee: 
Vout_Count = 50
  Debug: estimated transaction size: 9042 bytes (fee required at 10000 bytes or more)
tx_size_ok = 1
  Debug: transaction priority: 238.31M (fee required at 57.6M or less)
sugg_fee = 0

I even tried forcing a small fee but the transaction still failed.

So how can I calculate the required fee?

I use this in a shell script I wrote once:

    fee=$((($(eval $sign | wc -c) / 2 + 999) / 1000))

ie. sign the transaction, count the characters in the hex string, halve it to get the size in bytes, and round up to a multiple of 1000. Then I use 0.0001*$fee as the fee.

Of course, changing the fee requires you to re-sign the transaction, which can cause the length to change a little (since each input is signed separately, and the length of each signature can increase or decrease by one byte). So to by on the safe side you might want to add 999 + number_of_inputs in there, not just 999. Or just iterate on failure, recalculating the fee from the signed tx length until it succeeds.

Edit: CLAM doesn't have fee-free transactions, I don't think. Every transaction has to include a fee of 0.0001 per 1000 bytes or part thereof. So that's where you're going wrong. I'm not sure whether this is a hard rule (enforced on received transactions and/or blocks) or simply enforced by the client before it will transmit a transaction. Maybe you could modify your local client code to have it send zero-fee transactions and have the network accept them. I never looked into that.

Edit2: I decided to experiment with a zero-fee transaction.

First off, AcceptToMemoryPool() does this check:

Code:
        int64_t txMinFee = GetMinFee(tx, 1000, GMF_RELAY, nSize);
        if ((fLimitFree && nFees < txMinFee) || (!fLimitFree && nFees < MIN_TX_FEE))
            return error("AcceptToMemoryPool : not enough fees %s, %d < %d",
                         hash.ToString(),
                         nFees, txMinFee);

That's where the error you saw came from.

Removing that check isn't enough. You just get a different error:

    2015-05-13 16:37:44 ERROR: AcceptToMemoryPool : ConnectInputs failed c2287daabc7a7b86b723a6c791932fe89371c7c1e8d0cabeb1f4078dcbcda131

That's coming from ConnectInputs() which does this check:

Code:
            // enforce transaction fees for every block
            int64_t nRequiredFee = GetMinFee(*this);
            if (nTxFee < nRequiredFee)
                return fBlock? DoS(100, error("ConnectInputs() : %s not paying required fee=%s, paid=%s", GetHash().ToString(), FormatMoney(nRequiredFee), FormatMoney(nTxFee))) : false;

Removing that check too allows me to send a transaction with no fees:

Code:
$ cc sendrawtransaction $(cc signrawtransaction $(cc createrawtransaction '[{"txid":"951c5cebf8b04a8251f8617331e797a003e52daebdde9670381979e418b8e5cd","vout":1}]' '{"xW42Nau4hpdSu5931gaRHgx6B2ah3WpEvX":{"count":1,"amount":0.25}}') | grep hex | cut -d'"' -f4)
e812bf578bbc0157ac3fd0ed90e0634537d846b50ea71223391739a9ed55f54d

But checking on other nodes in the network, the transaction was either never seen, or seen and rejected with this error message:

Code:
2015-05-13 16:42:55 ERROR: AcceptToMemoryPool : not enough fees e812bf578bbc0157ac3fd0ed90e0634537d846b50ea71223391739a9ed55f54d, 0 < 10000

So maybe if I staked the block myself it would be accepted? To do that I need to run with -mintxfee=0 otherwise my node won't try to include the zero-fee transaction in the blocks it stakes:

Code:
            // Skip free transactions if we're past the minimum block size:
            if (fSortedByFee && (dFeePerKb < nMinTxFee) && (nBlockSize + nTxSize >= nBlockMinSize))
                continue;

Then there was another check for fee size in the miner code, so I commented that out too:

Code:
            int64_t nTxFees = tx.GetValueIn(mapInputs)-tx.GetValueOut();
            if (nTxFees < nMinFee)
                continue;

Finally I managed to stake my zero-fee transaction into a block. When the block was sent to a standard node, it rejected it:

Code:
2015-05-13 18:12:13 ERROR: ConnectInputs() : e812bf578bbc0157ac3fd0ed90e0634537d846b50ea71223391739a9ed55f54d not paying required fee=0.0001, paid=0.00
2015-05-13 18:12:13 InvalidChainFound: invalid block=0c4d66dc6fb8ff9bec6c9e26f12feddec1e3adb6a6f041b309b4947b02bfbc52  height=465778  trust=35361372754116997652  blocktrust=188138013378102  date=05/13/15 18:12:16
2015-05-13 18:12:13 InvalidChainFound:  current best=85b33a65171b31060c66516d5c51c04149e39434eca3a8389e39eb60bd8ab779  height=465777  trust=35361184616103619550  blocktrust=188715424952782  date=05/13/15 18:09:52
2015-05-13 18:12:13 ERROR: SetBestChain() : SetBestChainInner failed
2015-05-13 18:12:13 ERROR: AcceptBlock() : AddToBlockIndex failed
2015-05-13 18:12:13 ERROR: ProcessBlock() : AcceptBlock FAILED

So I guess that answers that question. ConnectInputs() is called both when creating a transaction and when checking the transactions in received blocks, and it rejects transactions which don't have enough fees.

I was worried I would have to reindex my blockchain on the node that staked the invalid block to get it to continue staking from a valid block, but it turned out I didn't need to. The rest of the network carried on staking from the last valid block, generated a longer chain than my invalid chain, and my node switched to that longer chain, orphaning the invalid block containing the zero-fee transaction.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 ... 502 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!