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

wallet cli: print unspent outputs with histogram #1496

Merged
merged 1 commit into from Jan 9, 2017

Conversation

kenshi84
Copy link
Contributor

Example:

> unspent_outputs 0.5 40

Amount: 0.500000000000, number of keys: 2
1200244 1205210 

Amount: 0.600000000000, number of keys: 4
1201126 1205210 1205210 1207392 

Amount: 0.700000000000, number of keys: 13
1189478 1195080 1196477 1201718 1202328 1203061 1204540 1205943 
1205943 1206101 1206599 1206599 1207393 

Amount: 0.800000000000, number of keys: 4
1201125 1201125 1201126 1203835 

Amount: 0.900000000000, number of keys: 2
1180268 1202328 

Amount: 1.000000000000, number of keys: 3
1195753 1201125 1202328 

Amount: 2.000000000000, number of keys: 6
1194368 1198020 1198856 1201718 1202200 1203835 

Amount: 3.000000000000, number of keys: 2
1195080 1204538 

Amount: 4.000000000000, number of keys: 5
1197245 1200879 1205210 1206101 1207392 

Amount: 5.000000000000, number of keys: 3
1200243 1206599 1206599 

Amount: 6.000000000000, number of keys: 6
1192147 1200244 1201125 1205210 1205943 1207393 

Amount: 7.000000000000, number of keys: 3
1199396 1203835 1207392 

Amount: 8.000000000000, number of keys: 2
1204540 1205210 

Amount: 9.000000000000, number of keys: 1
1204537 

Amount: 20.000000000000, number of keys: 2
1200243 1203136 

Amount: 30.000000000000, number of keys: 1
1192147 

Min block height: 1180268
Max block height: 1207393
Min amount found: 0.500000000000
Max amount found: 30.000000000000
Total count: 59

Bin size: 542.52
Outputs per *: 1
count
  ^
  |                                                  |
  |                                                  |
  |                                                  |
  |                                                  |
  |                                      *      *    |
  |                                      *      * * *|
  |                                    * * *   ** ***|
  |                                    * * *  *** ***|
  |                     *     *        * *** **** ***|
  |*               *    *   * *** ** ******* **** ***|
  +--------------------------------------------------+--> block height
   ^                                                ^
  1180268                                          1207393

@ghost
Copy link

ghost commented Dec 24, 2016

Nice idea!

Can you imagine how awesome a GUI version would look, with a simple click interface to zoom in and choose your inputs?

However, I suspect a computer will always be able to select outputs more 'randomly' than a human...so that degree of control may actually work against it's intended purpose :(

@moneromooo-monero
Copy link
Collaborator

ok

One less thing in my todo list :)

@kenshi84
Copy link
Contributor Author

kenshi84 commented Dec 24, 2016

@NanoAkron It would be great if the GUI can provide a similar functionality with better visuals. I don't have experience with Qt, so hopefully someone like @Jaqueeee will make it happen soon^tm :)

@fluffypony fluffypony merged commit adee164 into monero-project:master Jan 9, 2017
fluffypony added a commit that referenced this pull request Jan 9, 2017
adee164 wallet cli: print unspent outputs with histogram (kenshi84)
@kenshi84 kenshi84 deleted the print-unspent-outputs branch January 9, 2017 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants