{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/bitcore/issues/1210","labels_url":"https://api.github.com/repos/bitpay/bitcore/issues/1210/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/bitcore/issues/1210/comments","events_url":"https://api.github.com/repos/bitpay/bitcore/issues/1210/events","html_url":"https://github.com/bitpay/bitcore/issues/1210","id":72329189,"number":1210,"title":"Immutable Transaction Optimization","user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars.githubusercontent.com/u/544777?v=3","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T01:34:53Z","updated_at":"2015-05-12T22:29:34Z","closed_at":"2015-05-12T22:29:34Z","body":"If the Transaction class had an immutable option during construction, it would be possible to cache the serialized version of the transaction to optimize performance of calling `toBuffer()` and computing the hash of the transaction. Likewise it may also be possible to cache the buffer automatically, and then upon any update clear the cache to cause the buffer to regenerate."},"comment":{"url":"https://api.github.com/repos/bitpay/bitcore/issues/comments/101443255","html_url":"https://github.com/bitpay/bitcore/issues/1210#issuecomment-101443255","issue_url":"https://api.github.com/repos/bitpay/bitcore/issues/1210","id":101443255,"user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars.githubusercontent.com/u/544777?v=3","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T22:29:33Z","updated_at":"2015-05-12T22:29:33Z","body":"Merging with: https://github.com/bitpay/bitcore/issues/1224"}}