Thomas Winget
1dece111cc
Added function to check syntax of URL for DNS lookup
...
For now, simply checks for '.' character, but that will be easy to
change in the future if necessary/desired.
2014-09-23 22:59:57 +02:00
Thomas Winget
24f325a33d
Fixed artifacts from cherry-picking devel->master
2014-09-23 22:59:47 +02:00
Thomas Winget
c14c7e1683
change to allow (at least a bit) for multiple TXT records
2014-09-23 22:58:28 +02:00
Thomas Winget
f437cb58bf
Simplewallet should now resolve urls to addresses
...
Simplewallet should now do a DNS query on an address if it fails to
convert the given string to a binary representation of an address
(base58->binary). It will prompt the user, telling of what the "url"
passed was, what monero address it translated to, and whether or not
DNSSEC validation was a success, and ask for a confirmation that these
are all acceptable.
2014-09-23 22:58:25 +02:00
Thomas Winget
a5757a628f
Monero addres from DNS TXT record implemented, tests pass
...
Still need to deal with DNSSEC and optional fields in the TXT record.
2014-09-23 22:58:21 +02:00
Thomas Winget
3fb0fc020f
seed node DNS code updated to use DNSResolver
...
Also implemented rudimentary IPv6 support, but commented it out because
it's not widely supported by ISPs for now, and thus is not currently
supported by Monero.
2014-09-23 22:58:17 +02:00
Thomas Winget
9a3b18dbc2
Use the loop iterator, previous version of me.
2014-09-23 22:58:13 +02:00
Thomas Winget
578050e91d
ipv4 and ipv6 resolution working
...
IPv4 and IPv6 name resolution working.
Unit tests written (and passing).
net_node.{h,inl} code modified to use DNS seeds.
2014-09-23 22:58:07 +02:00
Thomas Winget
dea98df6b1
Updated CMake files -- added libunbound linker flag
...
CMake config file written, but was unable to test/get it working
properly because of a bug in CMake with functions related to
find_package. Simple "-lunbound" flag used in its stead for now. May
not build on non-Linux systems, not sure yet.
2014-09-23 22:58:02 +02:00
Thomas Winget
1ae6db25e6
Initial commit of DNS code
2014-09-23 22:57:57 +02:00
Zachary Michaels
59ab569da1
Give up on brace initializers in initializer lists (MSVC bug)
2014-09-15 23:14:24 +02:00
Riccardo Spagni
ffe7bf8c1c
another fix for CMake empty vars
2014-09-15 23:07:47 +02:00
Riccardo Spagni
de442fb9ad
Prevent CMake choking on empty vars
2014-09-15 23:04:58 +02:00
Riccardo Spagni
070ff889d2
More robust versioning in CMake, plus comments
2014-09-15 23:01:50 +02:00
Zachary Michaels
9db881864d
Fix time_t serialization issue
...
On 32-bit MinGW-w64, time_t is int32_t. The existing code was serializing
time_t directly and implicitly assuming that time_t is int64_t. This commit
formalizes that assumption by serializing int64_t directly and casting to
time_t where appropriate.
Thanks go to greatwolf for reporting this issue.
monero-project/bitmonero#88
2014-09-15 22:38:46 +02:00
Zachary Michaels
f64a68e7cc
Force CMake to link the runtime statically
2014-09-15 22:36:02 +02:00
Zachary Michaels
45bc24d69b
Another preprocessor fix (difficulty.cpp)
2014-09-15 22:33:10 +02:00
Zachary Michaels
aba3497fdd
More preprocessor fixes for slow-hash
2014-09-15 22:33:10 +02:00
Zachary Michaels
cf91545734
Correct includes for mingw in slow-hash
...
This needs testing
2014-09-15 22:33:10 +02:00
Zachary Michaels
2b76e9d8a3
Change Windows include to windows
...
mingw is case sensitive
2014-09-15 22:33:10 +02:00
Riccardo Spagni
b92a8b53e0
fix CMake for multiplatform versioning
2014-09-15 20:15:26 +02:00
Riccardo Spagni
72a80f6213
fixed incorrect version reference
2014-09-15 15:58:22 +02:00
Zachary Michaels
95a2701ec5
Change testnet prefix
2014-09-15 15:55:07 +02:00
Zachary Michaels
120c84d04f
Make P2P use the testnet data dir
2014-09-15 15:55:07 +02:00
Zachary Michaels
23525655fa
Replace macro with equivalent function call
...
Also removed useless bool return
2014-09-15 15:55:07 +02:00
Zachary Michaels
d03308734b
Separate testnet address prefix
2014-09-15 15:54:59 +02:00
Zachary Michaels
ee1bacc64f
Add testnet seed nodes
2014-09-15 15:54:24 +02:00
Zachary Michaels
4a6eb0a016
Create testnet data dir if necessary
2014-09-15 15:54:24 +02:00
Zachary Michaels
018e251cc0
Separate testnet default data dir
2014-09-15 15:54:19 +02:00
Zachary Michaels
3ef7f33300
Add descriptions for RPC command line params
2014-09-15 15:53:50 +02:00
Zachary Michaels
1e38a02bb5
Add testnet genesis tx as output by CN reference
2014-09-15 15:53:50 +02:00
Zachary Michaels
96eed84aad
Pass tx and nonce to genesis block constructor
2014-09-15 15:53:50 +02:00
Zachary Michaels
257077a96b
Separate network id for testnet
2014-09-15 15:53:50 +02:00
Zachary Michaels
658b6690a3
Separate rpc port for testnet
2014-09-15 15:53:46 +02:00
Zachary Michaels
98ed9a41f7
Separate p2p port for testnet
2014-09-15 15:53:10 +02:00
Zachary Michaels
fb4146fa34
Reorganize testnet constants
2014-09-15 15:53:10 +02:00
Zachary Michaels
79862ad1de
Add testnet constants
2014-09-15 15:53:10 +02:00
Zachary Michaels
07470fd400
Add testnet flag
...
Source: cryptonotefoundation
2014-09-15 15:53:01 +02:00
Riccardo Spagni
51011ed960
fix logic in tag check, AND -> OR
...
Signed-off-by: Riccardo Spagni <ric@spagni.net>
2014-09-15 08:24:32 +02:00
Riccardo Spagni
3129d51eb4
ignore tag check if we haven't pulled tags
...
Signed-off-by: Riccardo Spagni <ric@spagni.net>
2014-09-15 08:22:52 +02:00
Riccardo Spagni
d97191d4f9
new Makefile target: release-static
2014-09-15 08:18:11 +02:00
Riccardo Spagni
9c56b38b16
Merge pull request #136
...
bb2b606
fix incorrect error message (obvious cut and paste bug from upstream) (iamsmooth)
6b77e83
Change wallet to not try to extract tx public key when tx has no outputs (fixes 202612 tx format messages and is otherwise correct) (iamsmooth)
08205f0
output rng fix from boolberry (iamsmooth)
2014-09-13 10:24:39 +02:00
iamsmooth
bb2b606e91
fix incorrect error message (obvious cut and paste bug from upstream)
2014-09-13 08:04:05 +00:00
iamsmooth
6b77e8358c
Change wallet to not try to extract tx public key when tx has no outputs (fixes 202612 tx format messages and is otherwise correct)
2014-09-13 04:25:33 +00:00
iamsmooth
08205f01d9
output rng fix from boolberry
2014-09-12 22:57:32 +00:00
Riccardo Spagni
570b90eb43
fixed cmake variable matching
2014-09-12 13:27:30 +02:00
Riccardo Spagni
8334ce0b24
versioning now includes the commit hash, or -final for tagged releases
2014-09-12 13:12:43 +02:00
jebes
a13e879251
HOW DO I ENGLISH?
2014-09-11 10:45:05 -04:00
jebes
f7900ccfc1
mispelled brief, corrected it
2014-09-11 10:36:39 -04:00
jebes
dfed3d39b6
Merge remote-tracking branch 'upstream/master'
2014-09-11 10:20:55 -04:00