repo.or.cz
/
bitcoinplatinum.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add required space to [[ -n "$1" ]] (previously [[ -n"$1" ]])
2017-10-18
prac
t
ica
l
swif
t
Add requ
i
red s
p
ace
t
o
[
[ -n
"
$1" ]
]
(previously
[
[
.
.
.
commit
|
commitdiff
|
tree
2017-10-18
practicalswift
Add error
h
an
d
ling: exit if
cd fails
commit
|
commitdiff
|
tree
2017-10-18
pract
i
cal
s
wift
Remove "\n" fr
o
m
ec
h
o a
r
gument
.
e
c
ho doe
s
not support
.
.
.
commit
|
commitdiff
|
tree
2017-10-18
pract
i
calswift
Remo
v
e unuse
d
va
r
iabl
e
s
commit
|
commitdiff
|
tree
2017-10-13
practical
s
wi
f
t
Avoid divis
i
on
b
y
zer
o
in t
h
e
c
ase
of a corr
u
pt e
s
timates
.
.
.
commit
|
commitdiff
|
tree
2017-10-09
pract
i
cal
s
wift
Remove ac
c
identa
l
s
t
r
ay semi
c
olon
commit
|
commitdiff
|
tree
2017-10-09
pract
i
c
als
w
i
ft
Use nu
l
l
p
tr inste
a
d of NULL
commit
|
commitdiff
|
tree
2017-10-09
prac
t
icalswift
F
i
x a vs
.
a
n
typo
commit
|
commitdiff
|
tree
2017-10-04
prac
t
i
c
a
ls
w
ift
build:
M
ake
"make
cl
e
an" remove all f
i
le
s
created when
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
pr
a
cticals
w
i
f
t
Avoid NULL pointer derefere
n
ce when _walletMode
l
is
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
practicalswift
Use two
b
oolean l
i
terals instead of re-u
s
ing var
i
able
commit
|
commitdiff
|
tree
2017-10-02
pract
i
calswift
Remove duplica
t
e uriParts
.
size() > 0 check
commit
|
commitdiff
|
tree
2017-10-02
practicalswift
Remo
v
e redundant check (!ecc is
always true)
commit
|
commitdiff
|
tree
2017-10-02
practicalswift
Remove r
e
d
u
ndant
N
ULL
che
c
ks after n
e
w
commit
|
commitdiff
|
tree
2017-09-08
practicalsw
i
f
t
[Docs] F
i
x
b
r
ok
e
n Markdown t
a
bl
e
i
n dependencies
.
m
d
.
.
.
commit
|
commitdiff
|
tree
2017-09-06
practicalswift
Do
c
ument assumptions that are being made to avoid
NULL
.
.
.
commit
|
commitdiff
|
tree
2017-09-06
practicalswift
[Qt
]
Terminate string *pszEx
e
Path after r
e
adlink and
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
prac
t
icals
w
ift
Use for-l
o
op
i
nstead of list c
o
mprehension
commit
|
commitdiff
|
tree
2017-08-28
practicalswift
Use the var
i
able
n
ame _ for unu
s
ed retur
n
v
a
lues
commit
|
commitdiff
|
tree
2017-08-28
p
r
a
c
ticalswift
Re
m
ove un
u
sed variabl
e
s
a
nd/or funct
i
o
n calls
commit
|
commitdiff
|
tree
2017-08-28
practicalswif
t
Avoid
r
e
fe
r
enc
e
to und
e
fin
e
d n
a
me:
s
t
de
r
r does not
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
practicalswift
Use print(
.
.
.
) instead of undefined prin
t
f(
.
.
.
)
commit
|
commitdiff
|
tree
2017-08-28
p
r
a
c
tic
a
lswift
Use sys
.
exit(
.
.
.
)
i
nstead of exit(
.
.
.
)
:
exit(
.
.
.
) should
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
prac
t
i
c
als
w
ift
Doc
u
ment assumptions that are be
i
n
g
made to avoid
d
ivision
.
.
.
commit
|
commitdiff
|
tree
2017-08-24
p
r
acticalswif
t
I
mprove readab
i
lity of DecodeBase58Check(
.
.
.
)
commit
|
commitdiff
|
tree
2017-08-22
practic
a
lswift
Ad
d
recommendation: By default, declare single-arg
u
ment
.
.
.
commit
|
commitdiff
|
tree
2017-08-19
practicalsw
i
f
t
Buil
d
w
i
th --enable-w
e
r
r
o
r unde
r
OS X
commit
|
commitdiff
|
tree
2017-08-18
pr
a
cticals
w
ift
Docume
n
t the
p
reference of nullp
t
r over
N
ULL or (v
o
id*
)
0
commit
|
commitdiff
|
tree
2017-08-16
p
racticalswif
t
Prefer co
m
pile-time checking
over run
-
time checking
commit
|
commitdiff
|
tree
2017-08-16
practicalswift
D
e
c
lare single-argu
m
ent (non-
c
onve
r
ting) c
o
nstr
u
ctors
.
.
.
commit
|
commitdiff
|
tree
2017-08-16
practi
c
alswift
Use nul
l
pt
r
in
s
t
ead o
f
zero (0) as the
null pointe
r
.
.
.
commit
|
commitdiff
|
tree
2017-08-14
p
r
actic
a
l
s
w
i
f
t
w
allet: Fix memory lea
k
w
h
e
n loading a corrupte
d
wa
l
let
.
.
.
commit
|
commitdiff
|
tree
2017-08-14
pr
a
c
t
icalswif
t
te
s
t
s: Remove
OldSetK
e
y
F
r
omPass
p
hrase/OldEn
c
rypt/OldDecrypt
commit
|
commitdiff
|
tree
2017-08-14
prac
t
ical
s
wift
Sk
i
p sys::system(
.
.
.
) call
i
n cas
e
of empty
command
commit
|
commitdiff
|
tree
2017-08-14
pra
c
ticalsw
i
ft
Che
c
k
t
hat -b
l
ocknotify c
o
m
m
and is non-empty before
.
.
.
commit
|
commitdiff
|
tree
2017-08-09
pr
a
cticals
w
ift
Rem
o
ve the virtual sp
e
cifier for f
u
nct
i
ons wi
t
h the
.
.
.
commit
|
commitdiff
|
tree
2017-08-08
practicalswift
Fix
typos
.
commit
|
commitdiff
|
tree
2017-08-07
p
r
acti
c
a
lswift
scripted
-
diff:
U
se the C++11 ke
y
w
o
rd nullptr
t
o deno
t
e
.
.
.
commit
|
commitdiff
|
tree
2017-08-02
practicalsw
i
f
t
[net] Fix
use of uni
n
itializ
e
d
v
al
u
e in getn
e
tworkinfo
.
.
.
commit
|
commitdiff
|
tree
2017-08-02
pract
i
calswift
Pass Sen
d
CoinsRecipient (208 bytes) by c
o
nst reference
commit
|
commitdiff
|
tree
2017-08-01
p
ractic
a
lswift
Avoid r
e
turning a BIP9S
t
ats obje
c
t with unin
i
tia
l
ized
.
.
.
commit
|
commitdiff
|
tree
2017-07-31
p
r
a
c
ti
c
alswift
Restore defau
l
t format s
t
ate of cout afte
r
p
rinting
.
.
.
commit
|
commitdiff
|
tree
2017-07-31
practicalswif
t
Use the
n
oexcept specifie
r
(C
+
+11) instead
o
f deprecated
.
.
.
commit
|
commitdiff
|
tree
2017-07-25
practicalswift
[
te
s
t
s
]
Fix incorre
c
t m
e
mory_cleanse(…) ca
l
l in crypto_test
s
.
cpp
commit
|
commitdiff
|
tree
2017-07-25
p
r
acticalswift
Add const
to methods that do not modi
f
y the object
.
.
.
commit
|
commitdiff
|
tree
2017-07-18
practicals
w
i
f
t
Avoi
d
redundant redeclarat
i
on
of
G
e
t
War
n
i
ng
s
(c
o
nst
.
.
.
commit
|
commitdiff
|
tree
2017-07-18
practica
l
swift
Fi
x
typo: "c
o
ndi
t
o
n" →
"condit
i
on
"
commit
|
commitdiff
|
tree
2017-07-18
pract
i
calswift
Remove un
u
se
d
vari
a
ble int64
_
t n
E
nd
commit
|
commitdiff
|
tree
2017-07-17
prac
t
ical
s
w
ift
Add
a
t
t
r
ibute [[noreturn]] (C++11) to
f
unct
i
ons that
.
.
.
commit
|
commitdiff
|
tree
2017-07-17
practic
a
lswift
Enabl
e
devirtual
i
zation opportuniti
e
s by
us
i
ng the
.
.
.
commit
|
commitdiff
|
tree
2017-07-16
prac
t
icalswift
F
i
x inc
o
rrect Doxyg
e
n t
a
g (@inc
e
→
@since
)
.
Make D
o
x
y
gen
.
.
.
commit
|
commitdiff
|
tree
2017-07-16
practicalswift
R
e
move
un
r
eachable code
commit
|
commitdiff
|
tree
2017-07-16
practi
c
alswift
Remove duplic
a
te include
commit
|
commitdiff
|
tree
2017-07-15
p
ra
c
tical
s
wift
Remove
de
c
laration of u
n
used func
t
i
o
n: void Upda
t
edTransacti
.
.
.
commit
|
commitdiff
|
tree
2017-07-15
p
r
acticalsw
i
ft
Fix typo
s
commit
|
commitdiff
|
tree
2017-07-15
p
r
actic
a
l
swift
Avoid st
a
t
i
c an
a
l
y
zer warnings regar
d
ing
u
ninitializ
e
d
.
.
.
commit
|
commitdiff
|
tree
2017-07-09
prac
t
ical
s
wift
Si
m
plify "!foo || (foo && bar
)
" as "!foo |
|
ba
r
"
commit
|
commitdiff
|
tree
2017-07-09
practicalswift
[tests] Avoid redundant as
s
ignments
.
Remove unused
.
.
.
commit
|
commitdiff
|
tree
2017-07-02
pract
i
calswift
Avoid printin
g
inco
r
rec
t
bloc
k
indexing time
due to
.
.
.
commit
|
commitdiff
|
tree
2017-06-28
practic
a
l
s
w
ift
Use
t
h
e
override spe
c
i
fier (C++11) where
we ex
p
ec
t
.
.
.
commit
|
commitdiff
|
tree
2017-06-27
practicalswift
[
qt] Avoid potential
n
ul
l
poin
t
e
r derefere
n
ce
i
n Tra
n
saction
.
.
.
commit
|
commitdiff
|
tree
2017-06-21
p
rac
t
icalswi
f
t
Remove
o
bsolete _MSC_VER che
c
k
commit
|
commitdiff
|
tree
2017-06-15
prac
t
ica
l
s
wift
Mak
e
cla
n
g-format use
C
+
+11 f
e
atures (e
.
g
.
A<A
<
int
.
.
.
commit
|
commitdiff
|
tree
2017-06-14
practica
l
swif
t
Net:
F
i
x re
s
ource leak in Read
B
inaryFile(
.
.
.
)
commit
|
commitdiff
|
tree
2017-06-12
practical
s
wift
Remove unnece
s
sa
r
y forwar
d
class declar
a
tions
i
n
hea
d
er
.
.
.
commit
|
commitdiff
|
tree
2017-06-12
pr
a
cticalswif
t
R
e
move unre
a
c
hable or otherwise redundant
code
commit
|
commitdiff
|
tree
2017-06-11
p
ract
i
calswift
Simp
l
ify "bool x = y ? t
r
ue
:
f
a
lse" to "b
o
o
l
x
= y
"
commit
|
commitdiff
|
tree
2017-06-09
pra
c
ticalswift
Rem
o
ve duplicate include
s
commit
|
commitdiff
|
tree
2017-06-09
practic
a
lswift
Comm
e
nt out unused constant R
E
JECT_D
U
ST
commit
|
commitdiff
|
tree
2017-06-09
practical
s
wif
t
Use the "domain name se
t
up" im
a
ge (
p
r
e
viously unused
.
.
.
commit
|
commitdiff
|
tree
2017-06-09
practi
c
alswif
t
Remove unus
e
d Boost includes
commit
|
commitdiff
|
tree
2017-06-08
practicalswift
R
e
move u
n
used cons
t
a
n
t
M
E
M
POOL_GD_VER
S
ION
commit
|
commitdiff
|
tree
2017-06-08
practi
c
als
w
i
f
t
[tests
]
Remove accidental
trailing semicolon
commit
|
commitdiff
|
tree
2017-06-08
pra
c
ticalswift
[
t
e
s
ts] Remove
u
n
used functi
o
n
InsecureRandBytes(size_t
.
.
.
commit
|
commitdiff
|
tree
2017-06-07
practi
c
a
lswift
[tests] Remove p
r
intf(
.
.
.
)
commit
|
commitdiff
|
tree
2017-06-07
practi
c
alswift
[test
s
] Use
F
as
t
Rando
m
C
ontext
i
nstead
o
f b
o
os
t
::rando
m
.
.
.
commit
|
commitdiff
|
tree
2017-06-07
pr
a
cticalswift
Use std::un
o
rdered_{map,set} (C++11)
i
nstead of
boost
.
.
.
commit
|
commitdiff
|
tree
2017-06-06
pract
i
cal
s
wi
f
t
Use list
initi
a
lization (C
+
+11) for ma
p
s/vectors inst
e
ad
.
.
.
commit
|
commitdiff
|
tree
2017-06-06
p
racticalswift
[t
r
i
v
ia
l
] Fix typo
:
"o
c
currences" (misspell
e
d as
"
occurra
n
ces")
commit
|
commitdiff
|
tree
2017-06-04
practicalswif
t
L
i
m
i
t v
a
riable sc
o
pe
commit
|
commitdiff
|
tree
2017-06-03
practicalswift
Perform
m
e
m
ber
i
nitialization in
initi
a
lization
l
ists
.
.
.
commit
|
commitdiff
|
tree
2017-06-03
pract
i
calswift
Remove unused variable
s
commit
|
commitdiff
|
tree
2017-05-31
prac
t
icalswift
[trivial] Add end of name
s
p
a
ce comments
commit
|
commitdiff
|
tree
2017-05-23
practic
a
l
swift
[trivi
a
l] Fix three recently introdu
c
ed typ
o
s
commit
|
commitdiff
|
tree
2017-05-22
p
r
a
c
tic
a
lswift
[tests] Add libFuzz
e
r
support
.
commit
|
commitdiff
|
tree
2017-05-19
prac
t
icalswift
Use range-b
a
sed for
lo
o
ps
(C++11) wh
e
n
l
ooping
o
ve
r
.
.
.
commit
|
commitdiff
|
tree
2017-05-19
p
r
a
cti
c
als
w
i
ft
[test] Speed u
p
fuzzing by ~200x when using afl-
f
uzz
commit
|
commitdiff
|
tree
2017-05-18
p
r
acticalswi
f
t
[qt
]
Remov
e
excess
l
ogic
commit
|
commitdiff
|
tree
2017-05-13
p
racticalswi
f
t
Replace boost::func
t
ion
w
i
th std::
f
unction (C+
+
1
1
)
commit
|
commitdiff
|
tree
2017-05-02
practicalswift
R
e
move unused argument from
M
ark
B
lo
c
kAsInFlight(
.
.
.
)
commit
|
commitdiff
|
tree
2017-05-02
p
r
acticalswift
Re
m
o
v
e
unused Python imports
commit
|
commitdiff
|
tree
2017-05-02
practi
c
al
s
wift
Remo
v
e unused f
o
rward dec
l
aratio
n
f
o
r
n
on-existen
t
.
.
.
commit
|
commitdiff
|
tree
2017-04-26
p
ract
i
cals
w
ift
Remo
v
e unused
C++ code not
c
overed by unit tests
commit
|
commitdiff
|
tree
2017-04-10
prac
t
icalswi
f
t
[
trivial] Fix typo
s
(tempo
a
rily
→
tempor
a
rily, inadvertantly
.
.
.
commit
|
commitdiff
|
tree
2017-04-10
p
ractical
s
w
ift
R
e
move
ex
c
es
s
l
o
g
i
c
.
commit
|
commitdiff
|
tree
2017-04-07
p
r
acti
c
alswift
[
t
rivia
l
] F
i
x
typo ("improssible"
→ "impossible")
commit
|
commitdiff
|
tree
2017-04-04
practica
l
s
w
ift
Remove accidental tra
i
ling semicolons
commit
|
commitdiff
|
tree
2017-04-04
practicalswift
R
e
move unused import
commit
|
commitdiff
|
tree
2017-04-02
practicalswift
[rp
c
] Remove auth cooki
e
on shutd
o
w
n
commit
|
commitdiff
|
tree
2017-03-28
practicalswift
Remove ca
l
l to get
t
ransa
c
tion(
.
.
.
) where the result
.
.
.
commit
|
commitdiff
|
tree
next