{"action":"closed","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/3896","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/3896/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/3896/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/3896/events","html_url":"https://github.com/bitcoin/bitcoin/issues/3896","id":29697386,"number":3896,"title":"Debug console + RPC: problems with very large transactions","user":{"login":"dexX7","id":5836089,"avatar_url":"https://avatars.githubusercontent.com/u/5836089?v=3","gravatar_id":"","url":"https://api.github.com/users/dexX7","html_url":"https://github.com/dexX7","followers_url":"https://api.github.com/users/dexX7/followers","following_url":"https://api.github.com/users/dexX7/following{/other_user}","gists_url":"https://api.github.com/users/dexX7/gists{/gist_id}","starred_url":"https://api.github.com/users/dexX7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dexX7/subscriptions","organizations_url":"https://api.github.com/users/dexX7/orgs","repos_url":"https://api.github.com/users/dexX7/repos","events_url":"https://api.github.com/users/dexX7/events{/privacy}","received_events_url":"https://api.github.com/users/dexX7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/GUI","name":"GUI","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-03-19T00:13:36Z","updated_at":"2015-01-10T09:28:42Z","closed_at":"2015-01-10T09:28:42Z","body":"I created a valid, signed transaction with nearly 28 kb length and faced several problems.\r\n\r\nWithin the -Qt debug window of v0.9.0.0-gd6e0e17-beta (64-bit):\r\n\r\n - decoderawtransaction with \"hex-of-unsigned-transaction* worked fine.\r\n\r\n - decoderawtransaction with *hex-of-signed-transaction* failed with error \"TX decode failed (code -22)\". I noticed that the input textbox only allows a text length of 32767 characters at most.\r\n\r\n - sendrawtransaction with *hex-of-signed-transaction* failed for the same reason.\r\n\r\n\r\nThen I tried to broadcast the transaction via RPC:\r\n\r\n - decoderawtransaction with *hex-of-signed-transaction* worked.\r\n\r\n - sendrawtransaction with *hex-of-signed-transaction* failed with the error \"TX rejected (code -22)\", if I remember correctly. I'm unable to replicate the error, because I already broadcasted the transaction otherwise.\r\n\r\nThe same problem appeared on [Eligius' pushtx box](http://eligius.st/~wizkid057/newstats/pushtxn.php).\r\n\r\nI was able to broadcast the transaction successfully via the console of Electrum v1.9.8 (connected to electrum.no-ip.org:50002).\r\n\r\nFetching the broadcasted transaction with \"getrawtransaction 16a41567e402b9d6fdede7f56eabf2ca64036b9c4b95f063c27bd5713ca72e74\" works like a charm both in -Qt as well as via RPC."}}