Apply a warning icon to all warning texts in devel-docs

This commit is contained in:
Saivann 2014-06-10 23:49:39 -04:00
parent 1db4eb4031
commit 21bdb0fd1a
5 changed files with 89 additions and 8 deletions

View file

@ -279,7 +279,8 @@ second argument (a JSON object) creates the output with the address
(public key hash) and number of bitcoins we want to transfer.
We save the resulting raw format transaction to a shell variable.
**Warning:** `createrawtransaction` does not automatically create change
![Warning icon](/img/icon_warning.svg)
**Warning:** `createrawtransaction` does not automatically create change
outputs, so you can easily accidentally pay a large transaction fee. In
this example, our input had 50.0000 bitcoins and our output
(`$NEW_ADDRESS`) is being paid 49.9999 bitcoins, so the transaction will
@ -486,7 +487,8 @@ Use the `dumpprivkey` RPC to get the private keys corresponding to the
public keys used in the two UTXOs out inputs we will be spending. We need
the private keys so we can sign each of the inputs separately.
**Warning:** Users should never manually manage private keys on mainnet.
![Warning icon](/img/icon_warning.svg)
**Warning:** Users should never manually manage private keys on mainnet.
As dangerous as raw transactions are (see warnings above), making a
mistake with a private key can be much worse---as in the case of a HD
wallet [cross-generational key compromise][devguide hardened keys].
@ -642,7 +644,8 @@ Offline signing is safe. However, in this example we will also be
spending an output which is not part of the block chain because the
transaction containing it has never been broadcast. That can be unsafe:
**Warning:** transactions which spend outputs from unconfirmed
![Warning icon](/img/icon_warning.svg)
**Warning:** Transactions which spend outputs from unconfirmed
transactions are vulnerable to transaction malleability. Be sure to read
about transaction malleability and adopt good practices before spending
unconfirmed transactions on mainnet.
@ -1028,7 +1031,8 @@ redeemScript.
The P2SH address is returned along with the redeemScript which must be
provided when we spend satoshis sent to the P2SH address.
**Warning:** You must not lose the redeemScript, especially if you
![Warning icon](/img/icon_warning.svg)
**Warning:** You must not lose the redeemScript, especially if you
don't have a record of which public keys you used to create the P2SH
multisig address. You need the redeemScript to spend any bitcoins sent
to the P2SH address. If you lose the redeemScript, you can recreate it
@ -1178,7 +1182,8 @@ transaction, the same way we got private keys in the Complex Raw
Transaction subsection. Recall that we created a 2-of-3 multisig script,
so signatures from two private keys are needed.
**Reminder:** Users should never manually manage private keys on
![Warning icon](/img/icon_warning.svg)
**Reminder:** Users should never manually manage private keys on
mainnet. See the warning in the [complex raw transaction section][devex
complex raw transaction].

View file

@ -116,7 +116,8 @@ payment requests is recommended.
increased security, authentication of a receiver's identity using X.509 certificates,
and other important features such as refunds.
**Warning:** special care must be taken to avoid the theft of incoming
![Warning icon](/img/icon_warning.svg)
**Warning:** Special care must be taken to avoid the theft of incoming
payments. In particular, private keys should not be stored on web servers,
and payment requests should be sent over HTTPS or other secure methods
to prevent man-in-the-middle attacks from replacing your Bitcoin address

View file

@ -444,9 +444,10 @@ as 128 bits is the the only data the user needs to backup in order to
derive every key created by a particular wallet program using
particular settings.
(**Warning:** as of this writing, HD wallet programs are not expected to
![Warning icon](/img/icon_warning.svg)
**Warning:** As of this writing, HD wallet programs are not expected to
be fully compatible, so users must only use the same HD wallet program
with the same HD-related settings for a particular root seed.)
with the same HD-related settings for a particular root seed.
The root seed is hashed to create 512 bits of seemingly-random data,
from which the master private key and master chain code are created

BIN
img/icon_warning.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

74
img/icon_warning.svg Normal file
View file

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="icon_warning.svg"
inkscape:export-filename="/media/X/bitcoin.org/current/img/icon_warning.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="31.678384"
inkscape:cx="6.6209004"
inkscape:cy="9.970453"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="1000"
inkscape:window-x="1680"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1030.3622)">
<path
style="fill:#ee9209;fill-opacity:1;stroke:#ee9209;stroke-width:5.1024332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 11.006694,1036.058 -8.2925562,13.6037 16.6182692,0 z"
id="path2985"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<g
style="font-size:28.56415749px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Ubuntu;-inkscape-font-specification:Ubuntu Medium"
id="text3755"
transform="matrix(0.57006448,0,0,0.57006448,-0.93281068,454.85772)">
<path
d="m 23.025738,1029.1502 c -6e-6,1.5805 -0.05713,3.0278 -0.171385,4.3417 -0.114262,1.314 -0.257083,2.6375 -0.428462,3.9704 l -2.456518,0 c -0.19043,-1.3329 -0.342772,-2.6564 -0.457026,-3.9704 -0.114259,-1.333 -0.171388,-2.7802 -0.171385,-4.3417 l 0,-5.313 3.684776,0 0,5.313 m 0.428463,12.5968 c -7e-6,0.6665 -0.218999,1.2092 -0.656976,1.6281 -0.437989,0.419 -0.980708,0.6284 -1.628157,0.6284 -0.628415,0 -1.171134,-0.2094 -1.628157,-0.6284 -0.437986,-0.4189 -0.656978,-0.9616 -0.656976,-1.6281 -2e-6,-0.6665 0.21899,-1.2092 0.656976,-1.6282 0.457023,-0.438 0.999742,-0.657 1.628157,-0.657 0.647449,0 1.190168,0.219 1.628157,0.657 0.437977,0.419 0.656969,0.9617 0.656976,1.6282"
id="path3779"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB