Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test case 8af1fe74154c39a354... #18

Open
dmigwi opened this issue Dec 3, 2018 · 2 comments
Open

test case 8af1fe74154c39a354... #18

dmigwi opened this issue Dec 3, 2018 · 2 comments
Labels
Test Case Needed to test various major features to ensure accurate solution is created always.

Comments

@dmigwi
Copy link
Contributor

dmigwi commented Dec 3, 2018

https://testnet.dcrdata.org/tx/8af1fe74154c39a35454909c0ea94d834228b3288e3ef9eaf1205c15b28f8982

@dmigwi dmigwi added the Test Case Needed to test various major features to ensure accurate solution is created always. label Dec 3, 2018
@dmigwi
Copy link
Contributor Author

dmigwi commented Dec 3, 2018

Matched solution:

[
    {
        "Solution": 1,
        "TotalFees": 0.001589,
        "FundsFlow": [
            {
                "Fee": 0.000253,
                "Inputs": {
                    "Sum": 35.34604512,
                    "Values": [
                        35.34604512
                    ]
                },
                "MatchedOutputs": {
                    "Sum": 35.34579212,
                    "Values": [
                        4.39467833,
                        30.95111379
                    ]
                }
            },
            {
                "Fee": 0.000253,
                "Inputs": {
                    "Sum": 35.76445968,
                    "Values": [
                        35.76445968
                    ]
                },
                "MatchedOutputs": {
                    "Sum": 35.76420668,
                    "Values": [
                        4.81309289,
                        30.95111379
                    ]
                }
            },
            {
                "Fee": 0.001083,
                "Inputs": {
                    "Sum": 58.28474438,
                    "Values": [
                        1.03745634,
                        1.21481008,
                        3.94063045,
                        4.66035937,
                        13.05095253,
                        34.38053561
                    ]
                },
                "MatchedOutputs": {
                    "Sum": 58.28366138,
                    "Values": [
                        27.33254759,
                        30.95111379
                    ]
                }
            }
        ]
    }
]

@dmigwi
Copy link
Contributor Author

dmigwi commented Dec 3, 2018

Probability Solution:

[
    {
        "OutputAmount": 30.95111379,
        "Count": 3,
        "LinkingProbability": 100,
        "PercentOfInputs": 53.1043,
        "ProbableInputs": [
            {
                "Amount": 35.34604512,
                "Count": 1
            },
            {
                "Amount": 35.76445968,
                "Count": 1
            },
            {
                "Amount": 1.03745634,
                "Count": 1
            },
            {
                "Amount": 1.21481008,
                "Count": 1
            },
            {
                "Amount": 3.94063045,
                "Count": 1
            },
            {
                "Amount": 4.66035937,
                "Count": 1
            },
            {
                "Amount": 13.05095253,
                "Count": 1
            },
            {
                "Amount": 34.38053561,
                "Count": 1
            }
        ]
    },
    {
        "OutputAmount": 4.81309289,
        "Count": 1,
        "LinkingProbability": 100,
        "PercentOfInputs": 100,
        "ProbableInputs": [
            {
                "Amount": 35.76445968,
                "Count": 1
            }
        ]
    },
    {
        "OutputAmount": 27.33254759,
        "Count": 1,
        "LinkingProbability": 100,
        "PercentOfInputs": 46.8957,
        "ProbableInputs": [
            {
                "Amount": 34.38053561,
                "Count": 1
            },
            {
                "Amount": 1.03745634,
                "Count": 1
            },
            {
                "Amount": 1.21481008,
                "Count": 1
            },
            {
                "Amount": 3.94063045,
                "Count": 1
            },
            {
                "Amount": 4.66035937,
                "Count": 1
            },
            {
                "Amount": 13.05095253,
                "Count": 1
            }
        ]
    },
    {
        "OutputAmount": 4.39467833,
        "Count": 1,
        "LinkingProbability": 100,
        "PercentOfInputs": 100,
        "ProbableInputs": [
            {
                "Amount": 35.34604512,
                "Count": 1
            }
        ]
    }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Case Needed to test various major features to ensure accurate solution is created always.
Projects
None yet
Development

No branches or pull requests

1 participant