Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1<?xml version="1.0" encoding="UTF-8"?>2<ui version="4.0">3<class>SignVerifyMessageDialog</class>4<widget class="QDialog" name="SignVerifyMessageDialog">5<property name="geometry">6<rect>7<x>0</x>8<y>0</y>9<width>700</width>10<height>380</height>11</rect>12</property>13<property name="windowTitle">14<string>Signatures - Sign / Verify a Message</string>15</property>16<property name="modal">17<bool>true</bool>18</property>19<layout class="QVBoxLayout" name="verticalLayout">20<item>21<widget class="QTabWidget" name="tabWidget">22<property name="currentIndex">23<number>0</number>24</property>25<widget class="QWidget" name="tabSignMessage">26<attribute name="title">27<string>&Sign Message</string>28</attribute>29<layout class="QVBoxLayout" name="verticalLayout_SM">30<item>31<widget class="QLabel" name="infoLabel_SM">32<property name="text">33<string>You can sign messages/agreements with your legacy (P2PKH) addresses to prove you can receive bitcoins sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>34</property>35<property name="textFormat">36<enum>Qt::PlainText</enum>37</property>38<property name="wordWrap">39<bool>true</bool>40</property>41</widget>42</item>43<item>44<layout class="QHBoxLayout" name="horizontalLayout_1_SM">45<property name="spacing">46<number>0</number>47</property>48<item>49<widget class="QValidatedLineEdit" name="addressIn_SM">50<property name="toolTip">51<string>The Bitcoin address to sign the message with</string>52</property>53</widget>54</item>55<item>56<widget class="QPushButton" name="addressBookButton_SM">57<property name="toolTip">58<string>Choose previously used address</string>59</property>60<property name="text">61<string/>62</property>63<property name="icon">64<iconset resource="../bitcoin.qrc">65<normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>66</property>67<property name="shortcut">68<string>Alt+A</string>69</property>70<property name="autoDefault">71<bool>false</bool>72</property>73</widget>74</item>75<item>76<widget class="QPushButton" name="pasteButton_SM">77<property name="toolTip">78<string>Paste address from clipboard</string>79</property>80<property name="text">81<string/>82</property>83<property name="icon">84<iconset resource="../bitcoin.qrc">85<normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>86</property>87<property name="shortcut">88<string>Alt+P</string>89</property>90<property name="autoDefault">91<bool>false</bool>92</property>93</widget>94</item>95</layout>96</item>97<item>98<widget class="QPlainTextEdit" name="messageIn_SM">99<property name="toolTip">100<string>Enter the message you want to sign here</string>101</property>102<property name="placeholderText">103<string>Enter the message you want to sign here</string>104</property>105</widget>106</item>107<item>108<widget class="QLabel" name="signatureLabel_SM">109<property name="text">110<string>Signature</string>111</property>112<property name="textFormat">113<enum>Qt::PlainText</enum>114</property>115</widget>116</item>117<item>118<layout class="QHBoxLayout" name="horizontalLayout_2_SM">119<property name="spacing">120<number>0</number>121</property>122<item>123<widget class="QLineEdit" name="signatureOut_SM">124<property name="placeholderText">125<string>Click "Sign Message" to generate signature</string>126</property>127<property name="font">128<font>129<italic>true</italic>130</font>131</property>132<property name="readOnly">133<bool>true</bool>134</property>135</widget>136</item>137<item>138<widget class="QPushButton" name="copySignatureButton_SM">139<property name="toolTip">140<string>Copy the current signature to the clipboard</string>141</property>142<property name="text">143<string/>144</property>145<property name="icon">146<iconset resource="../bitcoin.qrc">147<normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>148</property>149<property name="autoDefault">150<bool>false</bool>151</property>152</widget>153</item>154</layout>155</item>156<item>157<layout class="QHBoxLayout" name="horizontalLayout_3_SM">158<item>159<widget class="QPushButton" name="signMessageButton_SM">160<property name="toolTip">161<string>Sign the message to prove you own this Bitcoin address</string>162</property>163<property name="text">164<string>Sign &Message</string>165</property>166<property name="icon">167<iconset resource="../bitcoin.qrc">168<normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>169</property>170<property name="autoDefault">171<bool>false</bool>172</property>173</widget>174</item>175<item>176<widget class="QPushButton" name="clearButton_SM">177<property name="toolTip">178<string>Reset all sign message fields</string>179</property>180<property name="text">181<string>Clear &All</string>182</property>183<property name="icon">184<iconset resource="../bitcoin.qrc">185<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>186</property>187<property name="autoDefault">188<bool>false</bool>189</property>190</widget>191</item>192<item>193<spacer name="horizontalSpacer_1_SM">194<property name="orientation">195<enum>Qt::Horizontal</enum>196</property>197<property name="sizeHint" stdset="0">198<size>199<width>40</width>200<height>48</height>201</size>202</property>203</spacer>204</item>205<item>206<widget class="QLabel" name="statusLabel_SM">207<property name="font">208<font>209<weight>75</weight>210<bold>true</bold>211</font>212</property>213<property name="text">214<string/>215</property>216<property name="wordWrap">217<bool>true</bool>218</property>219</widget>220</item>221<item>222<spacer name="horizontalSpacer_2_SM">223<property name="orientation">224<enum>Qt::Horizontal</enum>225</property>226<property name="sizeHint" stdset="0">227<size>228<width>40</width>229<height>48</height>230</size>231</property>232</spacer>233</item>234</layout>235</item>236</layout>237</widget>238<widget class="QWidget" name="tabVerifyMessage">239<attribute name="title">240<string>&Verify Message</string>241</attribute>242<layout class="QVBoxLayout" name="verticalLayout_VM">243<item>244<widget class="QLabel" name="infoLabel_VM">245<property name="text">246<string>Enter the receiver's address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack. Note that this only proves the signing party receives with the address, it cannot prove sendership of any transaction!</string>247</property>248<property name="textFormat">249<enum>Qt::PlainText</enum>250</property>
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.