{"action":"created","issue":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/736","repository_url":"https://api.github.com/repos/nanocurrency/raiblocks","labels_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/736/comments","events_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/736/events","html_url":"https://github.com/nanocurrency/raiblocks/pull/736","id":306000927,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc1NTg4Njc3","number":736,"title":"Moving initial bootstrap weights from generated array to ledger table","user":{"login":"cryptocode","id":34946442,"node_id":"MDQ6VXNlcjM0OTQ2NDQy","avatar_url":"https://avatars2.githubusercontent.com/u/34946442?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptocode","html_url":"https://github.com/cryptocode","followers_url":"https://api.github.com/users/cryptocode/followers","following_url":"https://api.github.com/users/cryptocode/following{/other_user}","gists_url":"https://api.github.com/users/cryptocode/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptocode/subscriptions","organizations_url":"https://api.github.com/users/cryptocode/orgs","repos_url":"https://api.github.com/users/cryptocode/repos","events_url":"https://api.github.com/users/cryptocode/events{/privacy}","received_events_url":"https://api.github.com/users/cryptocode/received_events","type":"User","site_admin":false},"labels":[{"id":96478539,"node_id":"MDU6TGFiZWw5NjQ3ODUzOQ==","url":"https://api.github.com/repos/nanocurrency/raiblocks/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":1173994449,"node_id":"MDU6TGFiZWwxMTczOTk0NDQ5","url":"https://api.github.com/repos/nanocurrency/raiblocks/labels/medium%20effort%20remaining","name":"medium effort remaining","color":"6fdb78","default":false},{"id":96478542,"node_id":"MDU6TGFiZWw5NjQ3ODU0Mg==","url":"https://api.github.com/repos/nanocurrency/raiblocks/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"assignees":[{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones/7","html_url":"https://github.com/nanocurrency/raiblocks/milestone/7","labels_url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones/7/labels","id":3590964,"node_id":"MDk6TWlsZXN0b25lMzU5MDk2NA==","number":7,"title":"V18.0","description":"Release V18.0 (Dolphin)\r\n\r\nThe plan for V18.0 right now is for it to be a clean-up and documentation release.","creator":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"open_issues":86,"closed_issues":63,"state":"open","created_at":"2018-08-22T14:13:52Z","updated_at":"2018-12-31T15:51:18Z","due_on":"2019-01-14T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-03-16T16:48:03Z","updated_at":"2018-12-31T17:42:36Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/736","html_url":"https://github.com/nanocurrency/raiblocks/pull/736","diff_url":"https://github.com/nanocurrency/raiblocks/pull/736.diff","patch_url":"https://github.com/nanocurrency/raiblocks/pull/736.patch"},"body":"Adds a command to produce a redistributable ledger db with initial bootstrap representative weights. The generated rai_bootstrap_weights array is thus gone.\r\n\r\ninitial_repweight_generate does the same job as the Python script did, except weights end up in the redist ledger.\r\n\r\nThe command dumps the SHA256 of the redist db to console, which can be used for verification at use-site.\r\n\r\nThere's an optional `--file` argument which takes a json settings file for redist generation, currently with limit (default 99) and cutoff (default 250K), e.g. same defaults as the old solution. I can make a wiki page for this if the PR gets merged.\r\n\r\nWe probably want more stuff in the redist ledger in the future, and having tons of params on the cmdline gets unwieldy. Hence the settings file.\r\n\r\nThe PR proposes a few utility functions/operators to improve code reuse (e.g. got another patch that needs the sha256 function)\r\n\r\nThere's an existing TEST(ledger, bootstrap_rep_weight) which I believe is still valid.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/comments/450673352","html_url":"https://github.com/nanocurrency/raiblocks/pull/736#issuecomment-450673352","issue_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/736","id":450673352,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY3MzM1Mg==","user":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T17:42:36Z","updated_at":"2018-12-31T17:42:36Z","author_association":"COLLABORATOR","body":"Yeah, let's defer this until later.  Also, I'm not sure why I assigned this to myself instead of @cryptocode but I suspect that was an accident."}}
{"actor":{"display_login":"rkeene"}}