joshbressers / blockchain-elasticsearch Goto Github PK
View Code? Open in Web Editor NEWProject for putting Blockchain data into Elasticsearch
License: Apache License 2.0
Project for putting Blockchain data into Elasticsearch
License: Apache License 2.0
Hello Josh,
I'm seeing that in almost all blocks too many transactions are been saved in indexes as valid tx but if I search them in bitcoind or any public explorer they don't exist.
Are they orphan tx, invalid tx?
For example txid = 4c44efee4d0dcb756c3cacb5c49547932a2595896ff5776fad4ff61298035be8
Or this is what null data script does?
{"took":29,"timed_out":false,"_shards":{"total":32,"successful":32,"skipped":0,"failed":0},"hits":{"total":1,"max_score":14.835281,"hits":[{"_index":"btc-transactions-5","_type":"doc","_id":"4c44efee4d0dcb756c3cacb5c49547932a2595896ff5776fad4ff61298035be8","_score":14.835281,"_source":{"version":1,"hash":"4c44efee4d0dcb756c3cacb5c49547932a2595896ff5776fad4ff61298035be8","height":609681,"txid":"3a596dc9db582d2bdf61296430030c08a9b59ea25abcca0cc7d99fd52fb61acb","vin":[{"vout":5,"txid":"ac2ed7b0a589b8643ec3a42d23ca6e448af917e89937b2ebc929aa460baf1a38","txinwitness":["","30440220715d2f7227429c517e2a8feda0bbb33609df89c32618b0b4cf41a015e285960102206d6a7296e4291fabd827f4d0bd285c89c51cf6ba883ce97fa96372fc7f6f4be301","3045022100f40a69a4a8464a2364f7d88b7bd1038527f885727a14c17074ffe911b9defd6d022030939253cd0b61a0067713b34bcbf493c96f5e1475b3948ca04e457fd09406aa01","522102ffdd09a5dc01a0a8ac7e0beec434b1b48b8e627112ebdff64338d8be3b761b4521028eb7a5893b894e1073e517f855a132d9b4a29aadf3d776ca88f29079049fba212103766967f1b0641989767f667dc3c0820933ed9f2c968a44589bb97ab9438722b353ae"],"sequence":4294967295},{"vout":1,"txid":"4bbfb9e8ccb7afc804b3dd0a4efd4f5049442f694fcb05d7b0f6df860dd16043","sequence":4294967295},{"vout":3,"txid":"6f202aa27e464889c35ef279e0df3e5db0d0dbf6f73bbbc55ed1d208fa2c0bb9","sequence":4294967295},{"vout":0,"txid":"2048ae30cd4e737415548b2dafb1100b6f84a319a387859a21ca8d087fce5233","sequence":4294967295},{"vout":0,"txid":"deb8a9c709324e11ed1bdc80ab76a04d9c835877901b0aa75311183b139673be","sequence":4294967295},{"vout":0,"txid":"15f4794fb344c904ee207c61a2a91540e0c79f6a487daaf5b6c10c983540a902","sequence":4294967295},{"vout":1,"txid":"23c47e0e604f5ddeb2dacb1d2e3278fc5d9b9995dfc6381afde3d237f9f9c51a","sequence":4294967295},{"vout":0,"txid":"645d5777b63ce3bfdc820be8359dd8111b302fa6b9d39fb7a1f573110dad4484","sequence":4294967295},{"vout":1,"txid":"e1fe9863bbe8a87949a50011255fa9b4e92b594f5478d4f731e1e00381d7c90f","sequence":4294967295},{"vout":0,"txid":"eb188e7523a8d20974e70419d87a8b1198adaa2e5a3e81a3fea43d873caeac67","sequence":4294967295},{"vout":9,"txid":"125bd88abc3d4926495dc53cba8da9c2e4f3fa28daeab21cec74e49416ba19c6","sequence":4294967295},{"vout":2,"txid":"fef25c534d12643aba99a687ab6215a5589d29a1a786def253c7059fefb80a03","sequence":4294967295}],"time":1577265040,"vsize":3613,"weight":14450,"locktime":0,"vout":[{"n":0,"scriptPubKey":{"addresses":["3HHhoE8r8rT5VXq37GWPgpMZ5FbskEkb3N"],"reqSigs":1,"type":"scripthash"},"value":0.06},{"n":1,"scriptPubKey":{"addresses":["1CoJ4FTkMsV2yR1CQ1HJ4GhzjZxiXKdmjE"],"reqSigs":1,"type":"pubkeyhash"},"value":0.01},{"n":2,"scriptPubKey":{"addresses":["3DhjdZSDaog9bkDnXcmuaKwuSeKaBbbLKV"],"reqSigs":1,"type":"scripthash"},"value":2.769},{"n":3,"scriptPubKey":{"addresses":["1HVQkHYuazsxGS9pC8Nym9mfWJqgmF47Zo"],"reqSigs":1,"type":"pubkeyhash"},"value":214.215},{"n":4,"scriptPubKey":{"addresses":["3AZ9wgq7vPSUJaFFtdqke85PX9mBxBwEA3"],"reqSigs":1,"type":"scripthash"},"value":0.787},{"n":5,"scriptPubKey":{"addresses":["3Ecum1BBWJzXTHfKcNdVp52qyATwNrfK4r"],"reqSigs":1,"type":"scripthash"},"value":1.0},{"n":6,"scriptPubKey":{"addresses":["bc1qn788xt7du86ydzum6t8zcje0ullvnvxh0tyhqzwhjncf3r93avus99ccqd"],"reqSigs":1,"type":"witness_v0_scripthash"},"value":35.94600623}],"size":3812,"block":"00000000000000000006dd42efd0e73cce10463473c1b9372c85ff98065fedd5"}}]}}
Best regards and thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.