Skip to content

Scrape addresses#60

Open
IngCr3at1on wants to merge 4 commits intoionomy:masterfrom
IngCr3at1on:scrape-addresses
Open

Scrape addresses#60
IngCr3at1on wants to merge 4 commits intoionomy:masterfrom
IngCr3at1on:scrape-addresses

Conversation

@IngCr3at1on
Copy link
Copy Markdown
Contributor

This includes #57, please merge #57 before merging this branch and this can be rebased afterwards if necessary.

IngCr3at1on and others added 4 commits July 7, 2016 13:32
Only tested makefile.unix (on linux system)

Does not address failing tests, only makes them compile.
Several test files are disabled cause they broke the build,
will require further investigation.
@IngCr3at1on
Copy link
Copy Markdown
Contributor Author

This closes #48

@IngCr3at1on
Copy link
Copy Markdown
Contributor Author

Apparently this is NOT ready for live usage... Investigation is in progress.

@mrcoinzzz
Copy link
Copy Markdown
Contributor

I setup the scrape address on three testnet iond staking wallets containing 20,000 ION each. Within 12 hours, all three wallets had staked.

The coin stake was sent to the scrape address correctly. However, the initial 20,000 ION in each wallet had completely disappeared. I suspect it was burnt as the tx fee.

Find below the three txid for further investigation:

Transaction ID: 2604b808d564a6f66034061ec320e6ecf5824d772a1bf9fdee0edd06f3779b03-000
Transaction ID: a7e5baca50289a5bbfe408237091f8e16d975bfdb17bac2244db1b86eeff0643-000
Transaction ID: a26ed036c80fd44a7a0633538198b3b081394a934866ef730dadacf7a0629902-000

@IonomyGuy
Copy link
Copy Markdown
Contributor

This needs more testing

@IngCr3at1on
Copy link
Copy Markdown
Contributor Author

@IonomyGuy yeah I haven't had time as of late to look into why this isn't working properly but judging by @mrcoinzzz results it's definitely not ready.

@RdeWilde
Copy link
Copy Markdown
Contributor

Any clue what is wrong?

@RdeWilde
Copy link
Copy Markdown
Contributor

$ iond -testnet gettransaction 2604b808d564a6f66034061ec320e6ecf5824d772a1bf9fdee0edd06f3779b03

{
    "txid" : "2604b808d564a6f66034061ec320e6ecf5824d772a1bf9fdee0edd06f3779b03",
   // .. loads of vins

    "vout" : [
        {
            "value" : 0.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "",
                "type" : "nonstandard"
            }
        },
        {
            "value" : 0.00000000,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "03a81d273505aed934dd5183607d5c859b644820c37fab92cebf6ca7d1c7e78e69 OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkey",
                "addresses" : [
                    "t9eRdQNS7iwFw3YVX4eaejVZGdgSt8uPvN"
                ]
            }
        },
        {
            "value" : 23.00000000,
            "n" : 2,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 2b23841e9216314fced2efbd84fcad76e59dc39b OP_EQUALVERIFY OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "tArhejxQab5GwgJWhaPkHtH7oPgKZjLF38"
                ]
            }
        },
        {
            "value" : 0.00000000,
            "n" : 3,
            "scriptPubKey" : {
                "asm" : "03a81d273505aed934dd5183607d5c859b644820c37fab92cebf6ca7d1c7e78e69 OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkey",
                "addresses" : [
                    "t9eRdQNS7iwFw3YVX4eaejVZGdgSt8uPvN"
                ]
            }
        },
        {
            "value" : 0.00000000,
            "n" : 4,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 636d19ca90cebfb9e67d346a5bc7842de611e2be OP_EQUALVERIFY OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "tFzKeEcGTehtbEdV5yhLSR2yJ8fCzS5fP8"
                ]
            }
        }
    ]

But

$ iond -testnet getreceivedbyaddress t9eRdQNS7iwFw3YVX4eaejVZGdgSt8uPvN
0.00000000
$ iond -testnet getreceivedbyaddress tArhejxQab5GwgJWhaPkHtH7oPgKZjLF38
0.00000000
$ iond -testnet getreceivedbyaddress t9eRdQNS7iwFw3YVX4eaejVZGdgSt8uPvN
0.00000000
$ iond -testnet getreceivedbyaddress tFzKeEcGTehtbEdV5yhLSR2yJ8fCzS5fP8
0.00000000

Is this normal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants