Posts

Showing posts from December 8, 2018

Send more than one raw transaction quickly will throw an error

Image
up vote 1 down vote favorite web3.eth.getTransactionCount(addressFrom).then(function(v){ count = v; var amount = web3.utils.toHex(1e16); var rawTransaction = {"from":addressFrom, "gasPrice":web3.utils.toHex(20* 1e9),"gasLimit":web3.utils.toHex(210000),"to":contractAddress,"value":"0x0","data":contract.methods.transfer(addressTo, amount).encodeABI(),"nonce":web3.utils.toHex(count)} var transaction = new Tx(rawTransaction); transaction.sign(privKey); web3.eth.sendSignedTransaction('0x'+transaction.serialize().toString('hex')) .on('transactionHash',console.log); }); If I send more than one raw transaction quickly, I get the known transaction error. I got "UnhandledPromiseRejectionWarni...

E Street Band

Image
E Street Band Bruce Springsteen and the E Street Band at the end of a performance, 2009 Background information Origin Belmar, New Jersey, United States Genres Rock, r&b, rock and roll, heartland rock Years active 1972–1989, 1995, 1999–present Labels Columbia Associated acts Bruce Springsteen, Southside Johnny, Steel Mill Members Bruce Springsteen Garry Tallent Roy Bittan Max Weinberg Steven Van Zandt Nils Lofgren Patti Scialfa Past members Clarence Clemons Danny Federici Vini Lopez David Sancious Ernest Carter The E Street Band is an American rock band, and has been musician Bruce Springsteen's primary backing band since 1972. The band was inducted into the Rock and Roll Hall of Fame in 2014. The band members have also performed and recorded (both individually and as a band) with a wide range of other artists including Bob Dylan, The Rolling Stones, Meat Loaf, Neil Young, Lou Reed, Bonnie Tyler, Air Supply, Dire Straits, Dav...