Skip to content

Instantly share code, notes, and snippets.

@tlatkdgus1
Created November 23, 2017 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlatkdgus1/5939f90a7b5c478f78c8ec0ecca45b5b to your computer and use it in GitHub Desktop.
Save tlatkdgus1/5939f90a7b5c478f78c8ec0ecca45b5b to your computer and use it in GitHub Desktop.
geth result
INFO [11-23|10:40:26] Submitted contract creation
fullhash=0x5e899bbed2b30cc1f70c83c21610aea780212bf9709a588d7bf9f8216fb93c0c
contract=0x4a72f
miner.start()
INFO [11-23|10:40:32] Updated mining threads threads=0
INFO [11-23|10:40:32] Transaction pool price threshold updated
price=18000000000
INFO [11-23|10:40:32] Starting mining operation null
> INFO [11-23|10:40:32] Commit new mining work number=1838
txs=2 uncles=0 elapsed=1.129ms
> miner.stop()INFO [11-23|10:40:33] Successfully sealed new block
number=1838 hash=6855ab…9cc4c0
INFO [11-23|10:40:33] 🔗 block reached canonical chain number=1833
hash=dc7cd9…43cb99
INFO [11-23|10:40:33] 🔨 mined potential block number=1838
hash=6855ab…9cc4c0
INFO [11-23|10:40:33] Commit new mining work number=1839
txs=0 uncles=0 elapsed=321.556µs
INFO [11-23|10:40:33] Submitted transaction
fullhash=0xc2ba70b307cb51b7fb45adb35ef0b385e57fbbe86def386432c242509d2c3247
recipient=0x4a72fe
INFO [11-23|10:40:33] Successfully sealed new block number=1839
hash=236bc3…a39bc6
INFO [11-23|10:40:33] 🔗 block reached canonical chain number=1834
hash=ed89d2…c71b0f
INFO [11-23|10:40:33] 🔨 mined potential block number=1839
hash=236bc3…a39bc6
INFO [11-23|10:40:33] Commit new mining work number=1840
txs=1 uncles=0 elapsed=798.96µs
And getTransactionReceipt
web3.eth.getTransactionReceipt("0xc2ba70b307cb51b7fb4~~~~")
{
blockHash:
"0x09f01e4a529483f7132db76b8230d9fbe413a4d5367016c4a2bd96b1cf8fb355",
blockNumber: 1840,
contractAddress: null,
cumulativeGasUsed: 76100,
from: "0x641aa1f3c9de9b751797df53cfe04a02f5f5c4a8",
gasUsed: 76100,
logs: [],
logsBloom:
"0x00000000000000000000000000000000~~~~~00",
root: "0xb47f35c93c17e719a99d24c13c8dd7656708406744d2663f0ce2ef2499a672c1",
to: "0x4a72fe8b80e26aef00a9a7e648ea9934ca5122d0",
transactionHash:
"0xc2ba70b307cb51b7fb45adb35ef0b385e57fbbe86def386432c242509d2c3247",
transactionIndex: 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment